mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 16:27:51 -06: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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue