From 3c33a7770d038d8465ff5f5939c05172d8d8540e Mon Sep 17 00:00:00 2001 From: Tom Yan Date: Sun, 19 Sep 2021 13:39:55 +0800 Subject: [PATCH] Fix hide_window keybinding unset check We use empty string for unset, not None --- terminatorlib/window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/window.py b/terminatorlib/window.py index 4ff9d088..875871e0 100644 --- a/terminatorlib/window.py +++ b/terminatorlib/window.py @@ -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(