changeset 3232:f3c99e96ac03

quick frontend (app): fixed argument order in `messageSend` default errback
author Goffi <goffi@goffi.org>
date Mon, 23 Mar 2020 17:53:29 +0100
parents e756e0eb1be4
children 8770397f8f82
files sat_frontends/quick_frontend/quick_app.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat_frontends/quick_frontend/quick_app.py	Mon Mar 23 17:52:18 2020 +0100
+++ b/sat_frontends/quick_frontend/quick_app.py	Mon Mar 23 17:53:29 2020 +0100
@@ -855,7 +855,7 @@
                #        without arg with json proxy
         if errback is None:
             errback = lambda failure: self.showDialog(
-                failure.fullname, failure.message, "error"
+                message=failure.message, title=failure.fullname, type="error"
             )
 
         if not self.trigger.point("messageSendTrigger", to_jid, message, subject, mess_type, extra, callback, errback, profile_key=profile_key):