diff --git a/cura/Settings/SettingInheritanceManager.py b/cura/Settings/SettingInheritanceManager.py index ae2de5c084..7989d5bebc 100644 --- a/cura/Settings/SettingInheritanceManager.py +++ b/cura/Settings/SettingInheritanceManager.py @@ -40,6 +40,10 @@ class SettingInheritanceManager(QObject): self._settings_with_inheritance_warning.remove(key) self.settingsWithIntheritanceChanged.emit() + @pyqtSlot() + def forceUpdate(self): + self._update() + def _onActiveExtruderChanged(self): if self._active_container_stack: self._active_container_stack.propertyChanged.disconnect(self._onPropertyChanged) diff --git a/resources/qml/Settings/SettingView.qml b/resources/qml/Settings/SettingView.qml index c721af7475..d96923d36c 100644 --- a/resources/qml/Settings/SettingView.qml +++ b/resources/qml/Settings/SettingView.qml @@ -33,6 +33,7 @@ ScrollView exclude: ["machine_settings"] expanded: Printer.expandedCategories onExpandedChanged: Printer.setExpandedCategories(expanded) + onVisibilityChanged: Cura.SettingInheritanceManager.forceUpdate() } delegate: Loader