Dictify Entrando Options

Fix null arg issue
This commit is contained in:
Mike A. Trethewey
2020-02-15 07:20:27 -08:00
parent ec2224d0fc
commit 783d259307
2 changed files with 46 additions and 47 deletions

View File

@@ -123,4 +123,5 @@ def loadadjustargs(gui, settings):
for subpage in options[mainpage]:
for widget in options[mainpage][subpage]:
key = options[mainpage][subpage][widget]
gui.pages[mainpage].content.widgets[widget].storageVar.set(settings[key])
if key in settings:
gui.pages[mainpage].content.widgets[widget].storageVar.set(settings[key])