Add title to machine action window

This commit is contained in:
fieldOfView 2016-08-02 09:51:58 +02:00
parent a2fa8246b6
commit 7d65e0d62b

View File

@ -87,12 +87,13 @@ UM.ManagementPage
Button
{
text: machineActionRepeater.model[index].label;
text: machineActionRepeater.model[index].label
onClicked:
{
actionDialog.content = machineActionRepeater.model[index].displayItem
machineActionRepeater.model[index].displayItem.reset()
actionDialog.show()
actionDialog.content = machineActionRepeater.model[index].displayItem;
machineActionRepeater.model[index].displayItem.reset();
actionDialog.title = machineActionRepeater.model[index].label;
actionDialog.show();
}
}
}