better presentation for register new account
- error message when no user, pass or server given - server is now automatically updated when jid change in connection category
This commit is contained in:
parent
a103e8b41b
commit
84cd3c6ea2
1 changed files with 27 additions and 3 deletions
|
|
@ -306,6 +306,7 @@ class MainWindow(wx.Frame, QuickApp):
|
|||
if type == "SUPPRESS":
|
||||
self.current_action_ids.remove(id)
|
||||
elif type == "SUCCESS":
|
||||
self.current_action_ids.remove(id)
|
||||
dlg = wx.MessageDialog(self, data["message"],
|
||||
'Success',
|
||||
wx.OK | wx.ICON_INFORMATION
|
||||
|
|
@ -313,6 +314,7 @@ class MainWindow(wx.Frame, QuickApp):
|
|||
dlg.ShowModal()
|
||||
dlg.Destroy()
|
||||
elif type == "ERROR":
|
||||
self.current_action_ids.remove(id)
|
||||
dlg = wx.MessageDialog(self, data["message"],
|
||||
'Error',
|
||||
wx.OK | wx.ICON_ERROR
|
||||
|
|
|
|||
Loading…
Reference in a new issue