mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 17:27:51 -06:00
Should only show Keep/Discard dialog when it's needed
CURA-4599
This commit is contained in:
parent
31c859b3d7
commit
aeb478bb4b
1 changed files with 3 additions and 1 deletions
|
@ -867,6 +867,8 @@ class MachineManager(QObject):
|
|||
# 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.
|
||||
self._executeDelayedActiveContainerStackChanges()
|
||||
|
||||
if self.hasUserSettings and Preferences.getInstance().getValue("cura/active_mode") == 1:
|
||||
Application.getInstance().discardOrKeepProfileChanges()
|
||||
|
||||
## Used to update material and variant in the active container stack with a delay.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue