diff options
author | Jelle Spijker <j.spijker@ultimaker.com> | 2021-07-28 12:36:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-28 12:36:49 +0300 |
commit | e845462e5d871cc24ce7b7169e4d879a26b925f3 (patch) | |
tree | 294d21cd9cfaaf48176f5fab2da9ac392352f008 /cura/API | |
parent | d24b28c9b912aa140e096129505568e6ebbf2088 (diff) | |
parent | b6665f1142ba3a566454c821e1d8c937d7b4119b (diff) |
Merge pull request #10198 from Ultimaker/CURA-8418_update_messages_with_new_types
Update messages to use the message_types
Diffstat (limited to 'cura/API')
-rw-r--r-- | cura/API/Account.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cura/API/Account.py b/cura/API/Account.py index 884c2885e4..a85e2c64c5 100644 --- a/cura/API/Account.py +++ b/cura/API/Account.py @@ -178,7 +178,9 @@ class Account(QObject): if self._error_message: self._error_message.hide() Logger.log("w", "Failed to login: %s", error_message) - self._error_message = Message(error_message, title = i18n_catalog.i18nc("@info:title", "Login failed")) + self._error_message = Message(error_message, + title = i18n_catalog.i18nc("@info:title", "Login failed"), + message_type = Message.MessageType.ERROR) self._error_message.show() self._logged_in = False self.loginStateChanged.emit(False) |