mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06: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
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue