mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:25:56 +08:00
Do not start Sync flow when there are no compatible packages to sync
(and remove unused import) CURA-6983
This commit is contained in:
parent
6763bed95f
commit
46133fe2f3
@ -53,6 +53,9 @@ class CloudPackageChecker(QObject):
|
||||
self._model.addDiscrepancies(package_discrepancy)
|
||||
self._model.initialize()
|
||||
|
||||
if not self._model.hasCompatiblePackages:
|
||||
return None
|
||||
|
||||
if package_discrepancy:
|
||||
self._handlePackageDiscrepancies()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user