primitivus: misc comments

This commit is contained in:
Goffi 2010-12-27 17:23:36 +01:00
commit 91d3d62dae

View file

@ -66,9 +66,11 @@ class ProfileManager(urwid.WidgetWrap):
self.host.removePopUp()
def newProfile(self, button, edit):
"""Create the profile"""
name = edit.get_edit_text()
self.host.bridge.createProfile(name)
self.__refillProfiles()
#We select the profile created in the list
self.list_profile.selectValue(name)
self.host.removePopUp()