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 Button
{ {
text: machineActionRepeater.model[index].label; text: machineActionRepeater.model[index].label
onClicked: onClicked:
{ {
actionDialog.content = machineActionRepeater.model[index].displayItem actionDialog.content = machineActionRepeater.model[index].displayItem;
machineActionRepeater.model[index].displayItem.reset() machineActionRepeater.model[index].displayItem.reset();
actionDialog.show() actionDialog.title = machineActionRepeater.model[index].label;
actionDialog.show();
} }
} }
} }