mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 17:59:00 +08:00
Fix updating upon containers or configuration changing
Copy-paste mistake... Contributes to issue CURA-6597.
This commit is contained in:
parent
bd2237dc45
commit
cf68157508
@ -35,9 +35,9 @@ class IntentCategoryModel(ListModel):
|
||||
self.addRoleName(self.IntentCategoryRole, "intent_category")
|
||||
self.addRoleName(self.WeightRole, "weight")
|
||||
|
||||
ContainerRegistry.getInstance().containerAdded.connect(self._onChanged)
|
||||
ContainerRegistry.getInstance().containerRemoved.connect(self._onChanged)
|
||||
IntentManager.getInstance().configurationChanged.connect(self._onChanged)
|
||||
ContainerRegistry.getInstance().containerAdded.connect(self.update)
|
||||
ContainerRegistry.getInstance().containerRemoved.connect(self.update)
|
||||
IntentManager.getInstance().configurationChanged.connect(self.update)
|
||||
|
||||
self.update()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user