Update window utils

Remove useless replace
This commit is contained in:
angelblue05 2019-01-25 08:11:49 -06:00
parent 07723ad02b
commit f9db3c6134

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.replace('.json', "").replace('.bool', ""), value)
window.setProperty(key, value)
else:
result = window.getProperty(key.replace('.json', "").replace('.bool', ""))