Fix list of groups in context menu to prevent duplicates

This commit is contained in:
Stephen Boddy 2009-01-10 07:34:50 +01:00
parent b356cfc9ee
commit a30755e670
1 changed files with 2 additions and 1 deletions

View File

@ -1171,6 +1171,7 @@ text/plain
def do_create_group (self, widget, window, entry): def do_create_group (self, widget, window, entry):
name = entry.get_text () name = entry.get_text ()
if name not in self.terminator.groupings:
self.terminator.groupings.append (name) self.terminator.groupings.append (name)
self.set_group (None, name) self.set_group (None, name)