[bug 827] fix --new-tab and --toggle-visibility

Commit 2e1dd1f add a 'if' between a 'if' and 'else' breaking logic.
This commit is contained in:
Julien Dusser 2023-09-10 17:02:38 +02:00
parent a6a0eca553
commit b935eda987
1 changed files with 1 additions and 3 deletions

View File

@ -111,11 +111,9 @@ if __name__ == '__main__':
elif OPTIONS.toggle_visibility:
dbg('requesting to toggle windows visibility')
ipc.toggle_visibility_cmdline(optionslist)
if OPTIONS.reload:
elif OPTIONS.reload:
dbg('requesting to reload configuration for all windows')
ipc.reload_configuration()
elif OPTIONS.unhide:
print('requesting to unhide windows')
ipc.unhide_cmdline(optionslist)