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 ()
|
term.spawn_child ()
|
||||||
self.save_yourself ()
|
self.save_yourself ()
|
||||||
|
|
||||||
if hidden or self.conf.hidden:
|
|
||||||
self.hide()
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
bindkey.tomboy_keybinder_bind(self.conf.keybindings['hide_window'],self.cbkeyCloak,term)
|
bindkey.tomboy_keybinder_bind(self.conf.keybindings['hide_window'],self.cbkeyCloak,term)
|
||||||
|
if hidden or self.conf.hidden:
|
||||||
|
self.hide()
|
||||||
except:
|
except:
|
||||||
dbg (_("Unable to bind hide_window key"))
|
dbg (_("Unable to bind hide_window key"))
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue