Update far less agressively for the material models

CURA-6016
This commit is contained in:
Jaime van Kessel 2018-12-11 10:59:17 +01:00
parent bb1950525a
commit f67ac8d7c4
4 changed files with 11 additions and 15 deletions

View file

@ -11,10 +11,7 @@ class GenericMaterialsModel(BaseMaterialsModel):
self._update()
def _update(self):
# Perform standard check and reset if the check fails
if not self._canUpdate():
self.setItems([])
return
# Get updated list of favorites