mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
CURA-4606 add the discard or keep changes screen
This commit is contained in:
parent
4ba7ce0890
commit
c56b3bc7bd
1 changed files with 5 additions and 0 deletions
|
@ -1110,8 +1110,13 @@ class MachineManager(QObject):
|
||||||
self.blurSettings.emit()
|
self.blurSettings.emit()
|
||||||
with postponeSignals(*self._getContainerChangedSignals(), compress = CompressTechnique.CompressPerParameterValue):
|
with postponeSignals(*self._getContainerChangedSignals(), compress = CompressTechnique.CompressPerParameterValue):
|
||||||
self._setQualityGroup(quality_group)
|
self._setQualityGroup(quality_group)
|
||||||
|
|
||||||
Logger.log("d", "Quality set!")
|
Logger.log("d", "Quality set!")
|
||||||
|
|
||||||
|
# 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("QVariant", fset = setQualityGroup, notify = activeQualityGroupChanged)
|
@pyqtProperty("QVariant", fset = setQualityGroup, notify = activeQualityGroupChanged)
|
||||||
def activeQualityGroup(self):
|
def activeQualityGroup(self):
|
||||||
return self._current_quality_group
|
return self._current_quality_group
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue