Don't try to set the global hide_window keybinding if it's disabled. Closes LP#1101155
This commit is contained in:
parent
30e3665005
commit
ed5a4040bc
|
@ -117,6 +117,7 @@ class Window(Container, gtk.Window):
|
|||
|
||||
# Attempt to grab a global hotkey for hiding the window.
|
||||
# If we fail, we'll never hide the window, iconifying instead.
|
||||
if self.config['keybindings']['hide_window'] != None:
|
||||
try:
|
||||
self.hidebound = keybinder.bind(
|
||||
self.config['keybindings']['hide_window'],
|
||||
|
|
Loading…
Reference in New Issue