aboutsummaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authortassaron2022-04-29 21:15:17 -0400
committertassaron2022-04-29 21:15:17 -0400
commitc2c3f0aa5adf3127b84b3d50da9e1aa655c8a824 (patch)
treeaa4593c53378e376e849799ee7cea23707aff4ec /src/core.py
parent6f7b3b5f7cb72d09b2b86bd58b2e526515739590 (diff)
remove extra window properties from window objects
instead of windows with properties which are windows, windows now have the UI added directly to them using an argument of `uic.loadUi` Also, DPI scaling moved to MainWindow __init__
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index 42fd1c3..225d8e0 100644
--- a/src/core.py
+++ b/src/core.py
@@ -181,7 +181,7 @@ class Core:
try:
if hasattr(loader, 'window'):
for widget, value in data['WindowFields']:
- widget = eval('loader.window.%s' % widget)
+ widget = eval('loader.%s' % widget)
with toolkit.blockSignals(widget):
toolkit.setWidgetValue(widget, value)