CURA-4606 CURA-5020 switching to quality changes now also checks and shows keep or discard user settings

This commit is contained in:
Jack Ha 2018-02-27 13:57:30 +01:00
parent 75573da9dd
commit 08bfe93385

View file

@ -1029,6 +1029,10 @@ class MachineManager(QObject):
with postponeSignals(*self._getContainerChangedSignals(), compress = CompressTechnique.CompressPerParameterValue):
self._setQualityChangesGroup(quality_changes_group)
# See if we need to show the Discard or Keep changes screen
if self.hasUserSettings and Preferences.getInstance().getValue("cura/active_mode") == 1:
Application.getInstance().discardOrKeepProfileChanges()
@pyqtProperty(QObject, fset = setQualityChangesGroup, notify = activeQualityChangesGroupChanged)
def activeQualityChangesGroup(self):
return self._current_quality_changes_group