mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 22:25:53 +08:00
Fix "keep current settings" dialog so it properly clears on "No"
Contributes to CURA-2006
This commit is contained in:
parent
e2a4aeb8ff
commit
450dcac394
@ -631,7 +631,12 @@ class MachineManager(QObject):
|
||||
pass
|
||||
elif button == QMessageBox.No:
|
||||
# No, discard the settings in the user profile
|
||||
self.clearUserSettings()
|
||||
global_stack = Application.getInstance().getGlobalContainerStack()
|
||||
|
||||
for extruder in ExtruderManager.ExtruderManager.getInstance().getMachineExtruders(global_stack.getId()):
|
||||
extruder.getTop().clear()
|
||||
|
||||
global_stack.getTop().clear()
|
||||
|
||||
@pyqtProperty(str, notify = activeVariantChanged)
|
||||
def activeVariantName(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user