bridge: fixed newAlert parameters order
This commit is contained in:
parent
4f47c2592c
commit
2c9364addf
1 changed files with 7 additions and 7 deletions
|
|
@ -204,11 +204,11 @@ class QuickApp():
|
|||
self.current_action_ids_cb = {}
|
||||
self.chat_wins[win.short].printMessage(sender, msg, profile)
|
||||
|
||||
def newAlert(self, msg, title, type, profile):
|
||||
def newAlert(self, msg, title, alert_type, profile):
|
||||
if not self.check_profile(profile):
|
||||
return
|
||||
assert type in ['INFO','ERROR']
|
||||
self.showDialog(unicode(msg),unicode(title),type.lower())
|
||||
assert alert_type in ['INFO','ERROR']
|
||||
self.showDialog(unicode(msg),unicode(title),alert_type.lower())
|
||||
|
||||
|
||||
def setStatusOnline(self, online=True):
|
||||
|
|
|
|||
Loading…
Reference in a new issue