Update MonitorPrintJobCard.qml

Contributes to CL-1165
This commit is contained in:
Ian Paschal 2019-01-11 10:43:50 +01:00
parent 8d76bd8678
commit 616d5a1f43

View file

@ -197,21 +197,6 @@ Item
}
}
// PrintJobContextMenu
// {
// id: contextButton
// anchors
// {
// right: parent.right;
// rightMargin: 8 * screenScaleFactor // TODO: Theme!
// top: parent.top
// topMargin: 8 * screenScaleFactor // TODO: Theme!
// }
// printJob: base.printJob
// width: 32 * screenScaleFactor // TODO: Theme!
// height: 32 * screenScaleFactor // TODO: Theme!
// }
MonitorContextMenuButton
{
id: contextMenuButton
@ -224,8 +209,7 @@ Item
}
width: 32 * screenScaleFactor // TODO: Theme!
height: 32 * screenScaleFactor // TODO: Theme!
// enabled: base.enabled
enabled: false
enabled: base.enabled // TODO: Add cloud logic here!
onClicked: enabled ? contextMenu.switchPopupState() : {}
visible:
{