Added completed signal to machine action, so model can notify display that it is completed

CURA-1385
This commit is contained in:
Jaime van Kessel 2016-06-21 16:19:44 +02:00
parent 181d16aad8
commit 65751d7400
4 changed files with 29 additions and 8 deletions

View 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()
}