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,7 +867,9 @@ 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()
|
||||||
Application.getInstance().discardOrKeepProfileChanges()
|
|
||||||
|
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.
|
## Used to update material and variant in the active container stack with a delay.
|
||||||
# This delay prevents the stack from triggering a lot of signals (eventually resulting in slicing)
|
# This delay prevents the stack from triggering a lot of signals (eventually resulting in slicing)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue