mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Update the model when something changes in the global stack.
Contributes to CURA-2477 Profile menu should only contain valid options for all materials
This commit is contained in:
parent
8206ecbfa8
commit
4a85ee85c1
2 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ class ProfilesModel(InstanceContainersModel):
|
|||
def __init__(self, parent = None):
|
||||
super().__init__(parent)
|
||||
|
||||
Application.getInstance().globalContainerStackChanged.connect(self._update)
|
||||
|
||||
## Fetch the list of containers to display.
|
||||
#
|
||||
# See UM.Settings.Models.InstanceContainersModel._fetchInstanceContainers().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue