Only hide the window if we can actually bind the hide_window key
This commit is contained in:
parent
88f005ee09
commit
b3c6e06964
|
@ -361,11 +361,10 @@ class Terminator:
|
|||
term.spawn_child ()
|
||||
self.save_yourself ()
|
||||
|
||||
if hidden or self.conf.hidden:
|
||||
self.hide()
|
||||
|
||||
try:
|
||||
bindkey.tomboy_keybinder_bind(self.conf.keybindings['hide_window'],self.cbkeyCloak,term)
|
||||
if hidden or self.conf.hidden:
|
||||
self.hide()
|
||||
except:
|
||||
dbg (_("Unable to bind hide_window key"))
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue