mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
Connect the manual sync button
CURA-7290
This commit is contained in:
parent
a6c0ee6c82
commit
0aed6d3731
2 changed files with 18 additions and 1 deletions
|
@ -31,6 +31,8 @@ class Account(QObject):
|
|||
loginStateChanged = pyqtSignal(bool)
|
||||
accessTokenChanged = pyqtSignal()
|
||||
cloudPrintersDetectedChanged = pyqtSignal(bool)
|
||||
isSyncingChanged = pyqtSignal(bool)
|
||||
manualSyncRequested = pyqtSignal()
|
||||
|
||||
def __init__(self, application: "CuraApplication", parent = None) -> None:
|
||||
super().__init__(parent)
|
||||
|
@ -133,7 +135,7 @@ class Account(QObject):
|
|||
def sync(self) -> None:
|
||||
"""Checks for new cloud printers"""
|
||||
|
||||
Logger.info("Starting account sync")
|
||||
self.manualSyncRequested.emit()
|
||||
|
||||
@pyqtSlot()
|
||||
def logout(self) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue