Fix dynamic widgets

This commit is contained in:
angelblue05 2018-11-01 01:39:44 -05:00
parent 1a1a306831
commit 7eaaa933b7
2 changed files with 12 additions and 4 deletions

View file

@ -51,7 +51,7 @@ def window(key, value=None, clear=False, window_id=10000):
key = key.replace('.bool', "")
value = "true" if value else "false"
window.setProperty(key, value)
window.setProperty(key.replace('.json', "").replace('.bool', ""), value)
else:
result = window.getProperty(key.replace('.json', "").replace('.bool', ""))