wix: fixed onShowProfile

This commit is contained in:
Goffi 2014-03-27 10:36:20 +01:00
commit 0ff17993f2

View file

@ -484,14 +484,14 @@ class MainWindow(wx.Frame, QuickApp):
dlg.ShowModal()
dlg.Destroy()
return
_id = self.bridge.getCard(target.bare, profile_key=self.profile)
_id = self.bridge.getCard(target.bare, self.profile)
self.current_action_ids.add(_id)
self.current_action_ids_cb[_id] = self.onProfileReceived
def onProfileReceived(self, data):
"""Called when a profile is received"""
debug (_('Profile received: [%s]') % data)
profile=Profile(self, data)
Profile(self, data)
def onJoinRoom(self, e):
warning('FIXME: temporary menu, must be improved')