Set edit widget to current group when editing

This commit is contained in:
Stephen Boddy 2012-06-24 20:23:35 +02:00
parent 3951acedf6
commit 11eb98f2e3
1 changed files with 2 additions and 0 deletions

View File

@ -233,6 +233,8 @@ 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)
self.groupentry.show() self.groupentry.show()
self.grouplabel.hide() self.grouplabel.hide()
self.groupentry.grab_focus() self.groupentry.grab_focus()