Skip to content

Commit

Permalink
Interpret the value of "Open" correctly in the ini file for Window state
Browse files Browse the repository at this point in the history
  • Loading branch information
lithorus committed Jun 30, 2024
1 parent 09a6cd4 commit 505843f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cuegui/cuegui/Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def startup(app_name, app_version, argv):

# Open all windows that were open when the app was last closed
for name in mainWindow.windows_names[1:]:
if settings.value("%s/Open" % name, False):
if settings.value("%s/Open" % name, "false") == 'true':
mainWindow.windowMenuOpenWindow(name)

# End splash screen
Expand Down

0 comments on commit 505843f

Please sign in to comment.