mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:55:54 +08: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
@ -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…
x
Reference in New Issue
Block a user