mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
Added completed signal to machine action, so model can notify display that it is completed
CURA-1385
This commit is contained in:
parent
181d16aad8
commit
65751d7400
4 changed files with 29 additions and 8 deletions
10
resources/qml/MachineAction.qml
Normal file
10
resources/qml/MachineAction.qml
Normal file
|
@ -0,0 +1,10 @@
|
|||
import QtQuick 2.2
|
||||
|
||||
Item
|
||||
{
|
||||
id: contentItem
|
||||
// Connect the finished property change to completed signal.
|
||||
property var finished: manager.finished
|
||||
onFinishedChanged: if(manager.finished) {completed()}
|
||||
signal completed()
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue