Skip to content

Commit

Permalink
Merge pull request #883 from rcalixte/fix_groupwindow
Browse files Browse the repository at this point in the history
window.py: Fix window group toggle keybind
  • Loading branch information
mattrose authored Feb 11, 2024
2 parents 5c6fda2 + 46f9566 commit d9aaa54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terminatorlib/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ def tab_change(self, widget, num=None):
# change
child.set_current_page(child.get_current_page())

def set_groups(self, new_group, term_list):
def set_groups(self, new_group, term_list):
"""Set terminals in term_list to new_group"""
for terminal in term_list:
terminal.set_group(None, new_group)
Expand Down Expand Up @@ -802,7 +802,7 @@ def group_win(self, widget):

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)
Expand Down

0 comments on commit d9aaa54

Please sign in to comment.