Fix hide_window keybinding unset check
We use empty string for unset, not None
This commit is contained in:
parent
5f8dabfd0c
commit
3c33a7770d
@ -130,7 +130,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:
|
||||
if self.config['keybindings']['hide_window'] != '':
|
||||
if display_manager() == 'X11':
|
||||
try:
|
||||
self.hidebound = Keybinder.bind(
|
||||
|
Loading…
Reference in New Issue
Block a user