mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #6136 from ynput/bugfix/style-polish-fix
Chore tools: Make sure style object is not garbage collected
This commit is contained in:
commit
97030a9fe8
1 changed files with 2 additions and 1 deletions
|
|
@ -91,7 +91,8 @@ def set_style_property(widget, property_name, property_value):
|
|||
if cur_value == property_value:
|
||||
return
|
||||
widget.setProperty(property_name, property_value)
|
||||
widget.style().polish(widget)
|
||||
style = widget.style()
|
||||
style.polish(widget)
|
||||
|
||||
|
||||
def paint_image_with_color(image, color):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue