mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 17:27:51 -06:00
Typing fixes
CURA-5744
This commit is contained in:
parent
f16a9c62b5
commit
b48adf5b3e
4 changed files with 11 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
# Copyright (c) 2018 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
from typing import Tuple, Optional, Dict
|
||||
from typing import Optional, Dict
|
||||
|
||||
from PyQt5.QtCore import QObject, pyqtSignal, pyqtSlot, pyqtProperty
|
||||
|
||||
|
@ -48,7 +48,7 @@ class Account(QObject):
|
|||
self._authorization_service.onAuthStateChanged.connect(self._onLoginStateChanged)
|
||||
self._authorization_service.onAuthenticationError.connect(self._onLoginStateChanged)
|
||||
|
||||
self._error_message = None
|
||||
self._error_message = None # type: Optional[Message]
|
||||
self._logged_in = False
|
||||
|
||||
@pyqtProperty(bool, notify=loginStateChanged)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue