window.py: Fix window group toggle keybind
The current conditional always evaluates to False, resulting in the ungroup_win() function never being called
This commit is contained in:
parent
5c6fda2513
commit
46f956613f
@ -802,7 +802,7 @@ class Window(Container, Gtk.Window):
|
||||
|
||||
def group_win_toggle(self, widget):
|
||||
"""Toggle grouping to all windows in the current window"""
|
||||
if widget.group == 'Window':
|
||||
if widget.group:
|
||||
self.ungroup_win(widget)
|
||||
else:
|
||||
self.group_win(widget)
|
||||
|
Loading…
Reference in New Issue
Block a user