mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-03-05 00:12:49 +01:00
fix(widget_state_manager): skip property listed introduced
This commit is contained in:
@@ -20,6 +20,8 @@ from bec_widgets.utils.widget_io import WidgetHierarchy
|
||||
|
||||
logger = bec_logger.logger
|
||||
|
||||
PROPERTY_TO_SKIP = ["palette", "font", "windowIcon", "windowIconText"]
|
||||
|
||||
|
||||
class WidgetStateManager:
|
||||
"""
|
||||
@@ -114,6 +116,7 @@ class WidgetStateManager:
|
||||
|
||||
if (
|
||||
name == "objectName"
|
||||
or name in PROPERTY_TO_SKIP
|
||||
or not prop.isReadable()
|
||||
or not prop.isWritable()
|
||||
or not prop.isStored() # can be extended to fine filter
|
||||
|
||||
Reference in New Issue
Block a user