mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
Allow machine actions to reference the dialog they are shown in
This way they can respond to the onAccepted and onRejected actions of the dialog Contributes to CURA-2019
This commit is contained in:
parent
dc6482853a
commit
a9ed562a58
2 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,10 @@ import QtQuick 2.2
|
|||
Item
|
||||
{
|
||||
id: contentItem
|
||||
|
||||
// Point to the dialog containing the displayItem
|
||||
property var dialog
|
||||
|
||||
// Connect the finished property change to completed signal.
|
||||
property var finished: manager.finished
|
||||
onFinishedChanged: if(manager.finished) {completed()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue