mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 22:49:01 +08:00
Should only show Keep/Discard dialog when it's needed
CURA-4599
This commit is contained in:
parent
31c859b3d7
commit
aeb478bb4b
@ -867,6 +867,8 @@ class MachineManager(QObject):
|
|||||||
# show the keep/discard dialog after the containers have been switched. Otherwise, the default values on
|
# show the keep/discard dialog after the containers have been switched. Otherwise, the default values on
|
||||||
# the dialog will be the those before the switching.
|
# the dialog will be the those before the switching.
|
||||||
self._executeDelayedActiveContainerStackChanges()
|
self._executeDelayedActiveContainerStackChanges()
|
||||||
|
|
||||||
|
if self.hasUserSettings and Preferences.getInstance().getValue("cura/active_mode") == 1:
|
||||||
Application.getInstance().discardOrKeepProfileChanges()
|
Application.getInstance().discardOrKeepProfileChanges()
|
||||||
|
|
||||||
## Used to update material and variant in the active container stack with a delay.
|
## Used to update material and variant in the active container stack with a delay.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user