[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:
parent
a6a0eca553
commit
b935eda987
|
@ -111,11 +111,9 @@ if __name__ == '__main__':
|
||||||
elif OPTIONS.toggle_visibility:
|
elif OPTIONS.toggle_visibility:
|
||||||
dbg('requesting to toggle windows visibility')
|
dbg('requesting to toggle windows visibility')
|
||||||
ipc.toggle_visibility_cmdline(optionslist)
|
ipc.toggle_visibility_cmdline(optionslist)
|
||||||
|
elif OPTIONS.reload:
|
||||||
if OPTIONS.reload:
|
|
||||||
dbg('requesting to reload configuration for all windows')
|
dbg('requesting to reload configuration for all windows')
|
||||||
ipc.reload_configuration()
|
ipc.reload_configuration()
|
||||||
|
|
||||||
elif OPTIONS.unhide:
|
elif OPTIONS.unhide:
|
||||||
print('requesting to unhide windows')
|
print('requesting to unhide windows')
|
||||||
ipc.unhide_cmdline(optionslist)
|
ipc.unhide_cmdline(optionslist)
|
||||||
|
|
Loading…
Reference in New Issue