diff options
author | Friedemann Kleint <[email protected]> | 2024-12-18 13:09:49 +0100 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2024-12-18 12:22:11 +0000 |
commit | d27ad166e888c52e5ec77eb9db85bf7da2ed9ddc (patch) | |
tree | 653e95af4d3eefeaa87faa98b99277914fb903ac /examples/widgets/dialogs/licensewizard | |
parent | 50cb1078f856d3282f62cb7b6e5b7077785ccf26 (diff) |
standarddialogs example: Fix error when checking dialog options
The helper widget displaying the dialog options used int(0)
as default value when building the options flags, causing:
standarddialogs.py", line 274, in set_color
options_value = self._color_options.value()
File "examples/widgets/dialogs/standarddialogs/standarddialogs.py", line 33, in value
result |= value
TypeError: unsupported operand type(s) for |=: 'int' and 'ColorDialogOption'
options_value = self._color_options.value()
Fix this by passing a zero value of the correct options type.
Pick-to: 6.8
Task-number: PYSIDE-1735
Change-Id: Ia82edb2403a9b4580fe3202d75e77da86290fdfe
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Diffstat (limited to 'examples/widgets/dialogs/licensewizard')
0 files changed, 0 insertions, 0 deletions