mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-22 10:21:39 -07:00
CURA-5164 Fix a bug when open the discard or keep dialog. It was using
a non-existing variable.
This commit is contained in:
parent
8ad409ff55
commit
67ce55049b
1 changed files with 1 additions and 1 deletions
|
|
@ -555,7 +555,7 @@ class CuraApplication(QtApplication):
|
||||||
elif choice == "always_keep":
|
elif choice == "always_keep":
|
||||||
# don't show dialog and KEEP the profile
|
# don't show dialog and KEEP the profile
|
||||||
self.discardOrKeepProfileChangesClosed("keep")
|
self.discardOrKeepProfileChangesClosed("keep")
|
||||||
elif self._use_gui:
|
elif not self._is_headless:
|
||||||
# ALWAYS ask whether to keep or discard the profile
|
# ALWAYS ask whether to keep or discard the profile
|
||||||
self.showDiscardOrKeepProfileChanges.emit()
|
self.showDiscardOrKeepProfileChanges.emit()
|
||||||
has_user_interaction = True
|
has_user_interaction = True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue