mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Wait with updating active stack variant and material until dialog was closed - CURA-4447
This commit is contained in:
parent
09ed53b4ec
commit
2361e96e29
2 changed files with 30 additions and 6 deletions
|
@ -407,6 +407,8 @@ class CuraApplication(QtApplication):
|
|||
has_user_interaction = True
|
||||
return has_user_interaction
|
||||
|
||||
onDiscardOrKeepProfileChangesClosed = pyqtSignal() # Used to notify other managers that the dialog was closed
|
||||
|
||||
@pyqtSlot(str)
|
||||
def discardOrKeepProfileChangesClosed(self, option):
|
||||
if option == "discard":
|
||||
|
@ -429,6 +431,7 @@ class CuraApplication(QtApplication):
|
|||
user_global_container.update()
|
||||
|
||||
# notify listeners that quality has changed (after user selected discard or keep)
|
||||
self.onDiscardOrKeepProfileChangesClosed.emit()
|
||||
self.getMachineManager().activeQualityChanged.emit()
|
||||
|
||||
@pyqtSlot(int)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue