Wait with updating active stack variant and material until dialog was closed - CURA-4447

This commit is contained in:
ChrisTerBeke 2017-10-23 11:41:20 +02:00
parent 09ed53b4ec
commit 2361e96e29
2 changed files with 30 additions and 6 deletions

View file

@ -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)