primitivus (ProfileManager): fixed profile change event callback

This commit is contained in:
Goffi 2015-08-25 14:22:21 +02:00
commit fcb658ff2d

View file

@ -156,7 +156,7 @@ class ProfileManager(QuickProfileManager, urwid.WidgetWrap):
popup = sat_widgets.Alert(title, message, ok_cb=self.host.removePopUp)
self.host.showPopUp(popup)
def onProfileChange(self, list_wid):
def onProfileChange(self, list_wid, widget=None, selected=None):
"""This is called when a profile is selected in the profile list.
@param list_wid: the List widget who sent the event