diff frontends/src/primitivus/profile_manager.py @ 1488:66d01f29f886

primitivus (ProfileManager): fixed profile change event callback
author Goffi <goffi@goffi.org>
date Tue, 25 Aug 2015 14:22:21 +0200
parents 057f0714f27e
children 039d96e131be
line wrap: on
line diff
--- a/frontends/src/primitivus/profile_manager.py	Fri Aug 21 14:58:42 2015 +0200
+++ b/frontends/src/primitivus/profile_manager.py	Tue Aug 25 14:22:21 2015 +0200
@@ -156,7 +156,7 @@
         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