mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-03-05 00:12:49 +01:00
fix(widget_state_manager): visible is always true
This commit is contained in:
@@ -97,8 +97,12 @@ class WidgetStateManager:
|
||||
for i in range(meta.propertyCount()):
|
||||
prop = meta.property(i)
|
||||
name = prop.name()
|
||||
skip_visible = (
|
||||
name == "visible"
|
||||
) # TODO long term wise should be figured it out on the level of ADS, hotfix for now to avoid saving visibility when ads is not on main page
|
||||
if (
|
||||
name == "objectName"
|
||||
or skip_visible
|
||||
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