mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 05:07:50 -06:00
Update the _available_materials in the actual _update function
It's confusing that this would be updated in the _canUpdate function. Just cleanliness. Contributes to issue CURA-6600.
This commit is contained in:
parent
ea1c99b708
commit
8ef410e826
4 changed files with 13 additions and 12 deletions
|
@ -19,9 +19,9 @@ class FavoriteMaterialsModel(BaseMaterialsModel):
|
|||
self._update()
|
||||
|
||||
def _update(self):
|
||||
super()._update()
|
||||
if not self._canUpdate():
|
||||
return
|
||||
super()._update()
|
||||
|
||||
item_list = []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue