Removed unnecessary line (because we still want to show the Compatability Dialog even if there are only Incompatible packages)

CURA-7090
This commit is contained in:
Dimitriovski 2020-01-24 11:28:36 +01:00
parent eb3bd811c1
commit ae494110ba
No known key found for this signature in database
GPG key ID: 4E62757E2B0D304D

View file

@ -59,9 +59,6 @@ class CloudPackageChecker(QObject):
self._model.addDiscrepancies(package_discrepancy) # TODO: Move these two lines below, under if package_discrepancy:
self._model.initialize(subscribed_packages_payload)
if not self._model.hasCompatiblePackages: # TODO: Remove these two lines...
return None
if package_discrepancy:
self._handlePackageDiscrepancies()