Fix list of groups in context menu to prevent duplicates
This commit is contained in:
parent
b356cfc9ee
commit
a30755e670
|
@ -1171,6 +1171,7 @@ text/plain
|
|||
|
||||
def do_create_group (self, widget, window, entry):
|
||||
name = entry.get_text ()
|
||||
if name not in self.terminator.groupings:
|
||||
self.terminator.groupings.append (name)
|
||||
self.set_group (None, name)
|
||||
|
||||
|
|
Loading…
Reference in New Issue