mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Always show context menu for print jobs
Contributes to CL-1175
This commit is contained in:
parent
4438f0d9a3
commit
5d2a914180
1 changed files with 0 additions and 8 deletions
|
@ -217,14 +217,6 @@ Item
|
||||||
height: 32 * screenScaleFactor // TODO: Theme!
|
height: 32 * screenScaleFactor // TODO: Theme!
|
||||||
enabled: !cloudConnection
|
enabled: !cloudConnection
|
||||||
onClicked: enabled ? contextMenu.switchPopupState() : {}
|
onClicked: enabled ? contextMenu.switchPopupState() : {}
|
||||||
visible:
|
|
||||||
{
|
|
||||||
if (!printJob) {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
var states = ["queued", "sent_to_printer", "pre_print", "printing", "pausing", "paused", "resuming"]
|
|
||||||
return states.indexOf(printJob.state) !== -1
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MonitorContextMenu
|
MonitorContextMenu
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue