comparison 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
comparison
equal deleted inserted replaced
1487:0df627d0b4ca 1488:66d01f29f886
154 154
155 def alert(self, title, message): 155 def alert(self, title, message):
156 popup = sat_widgets.Alert(title, message, ok_cb=self.host.removePopUp) 156 popup = sat_widgets.Alert(title, message, ok_cb=self.host.removePopUp)
157 self.host.showPopUp(popup) 157 self.host.showPopUp(popup)
158 158
159 def onProfileChange(self, list_wid): 159 def onProfileChange(self, list_wid, widget=None, selected=None):
160 """This is called when a profile is selected in the profile list. 160 """This is called when a profile is selected in the profile list.
161 161
162 @param list_wid: the List widget who sent the event 162 @param list_wid: the List widget who sent the event
163 """ 163 """
164 self.updateConnectionParams() 164 self.updateConnectionParams()