mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 05:07:50 -06:00
Add message to indicate that Cura was unable to connect with account server
This happens when you were logged previously, but currently don't have internet acces. CURA-6231
This commit is contained in:
parent
222f8e6cdb
commit
c35aabd2c4
2 changed files with 31 additions and 1 deletions
|
@ -76,6 +76,9 @@ class Account(QObject):
|
|||
self._error_message.hide()
|
||||
self._error_message = Message(error_message, title = i18n_catalog.i18nc("@info:title", "Login failed"))
|
||||
self._error_message.show()
|
||||
self._logged_in = False
|
||||
self.loginStateChanged.emit(False)
|
||||
return
|
||||
|
||||
if self._logged_in != logged_in:
|
||||
self._logged_in = logged_in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue