mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -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):
|
def __init__(self, parent = None):
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
|
|
||||||
|
Application.getInstance().globalContainerStackChanged.connect(self._update)
|
||||||
|
|
||||||
## Fetch the list of containers to display.
|
## Fetch the list of containers to display.
|
||||||
#
|
#
|
||||||
# See UM.Settings.Models.InstanceContainersModel._fetchInstanceContainers().
|
# See UM.Settings.Models.InstanceContainersModel._fetchInstanceContainers().
|
||||||
|
|
0
cura/Settings/ProfilesPageModel.py
Normal file
0
cura/Settings/ProfilesPageModel.py
Normal file
Loading…
Add table
Add a link
Reference in a new issue