Don't overwrite existing groups
This commit is contained in:
parent
55c3b7d59c
commit
038e495610
|
@ -234,6 +234,9 @@ class Titlebar(gtk.EventBox):
|
||||||
|
|
||||||
def create_group(self):
|
def create_group(self):
|
||||||
"""Create a new group"""
|
"""Create a new group"""
|
||||||
|
if self.terminal.group:
|
||||||
|
self.groupentry.set_text(self.terminal.group)
|
||||||
|
else:
|
||||||
defaultgroups=set(['Alpha','Beta','Gamma','Delta','Epsilon','Zeta','Eta',
|
defaultgroups=set(['Alpha','Beta','Gamma','Delta','Epsilon','Zeta','Eta',
|
||||||
'Theta','Iota','Kappa','Lambda','Mu','Nu','Xi',
|
'Theta','Iota','Kappa','Lambda','Mu','Nu','Xi',
|
||||||
'Omnicron','Pi','Rho','Sigma','Tau','Upsilon','Phi',
|
'Omnicron','Pi','Rho','Sigma','Tau','Upsilon','Phi',
|
||||||
|
|
Loading…
Reference in New Issue