Pause autoslicing while the MachineSettingsAction is open

Each setting-change would cause a reslice, which is unnecessary.
This commit is contained in:
fieldOfView 2017-04-21 21:05:28 +02:00
parent 4d12ab1296
commit ba229444b7
2 changed files with 23 additions and 0 deletions

View file

@ -32,6 +32,18 @@ Cura.MachineAction
onTriggered: base.extruderTabsCount = (machineExtruderCountProvider.properties.value > 1) ? parseInt(machineExtruderCountProvider.properties.value) : 0
}
Connections
{
target: dialog ? dialog : null
ignoreUnknownSignals: true
// Any which way this action dialog is dismissed, make sure it is properly finished
onNextClicked: manager.onFinishAction()
onBackClicked: manager.onFinishAction()
onAccepted: manager.onFinishAction()
onRejected: manager.onFinishAction()
onClosing: manager.onFinishAction()
}
anchors.fill: parent;
Item
{