mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Enable force override print job in local network, fix override button not enabled on older firmwares
This commit is contained in:
parent
de3f82610a
commit
9e6e9a4beb
3 changed files with 25 additions and 1 deletions
|
@ -494,6 +494,25 @@ Item
|
|||
implicitWidth: 96 * screenScaleFactor // TODO: Theme!
|
||||
visible: printer && printer.activePrintJob && printer.activePrintJob.configurationChanges.length > 0 && !printerStatus.visible
|
||||
onClicked: base.enabled ? overrideConfirmationDialog.open() : {}
|
||||
enabled: OutputDevice.supportsPrintJobActions
|
||||
}
|
||||
|
||||
// For cloud printing, add this mouse area over the disabled details button to indicate that it's not available
|
||||
MouseArea
|
||||
{
|
||||
id: detailsButtonDisabledButtonArea
|
||||
anchors.fill: detailsButton
|
||||
hoverEnabled: detailsButton.visible && !detailsButton.enabled
|
||||
onEntered: overrideButtonDisabledInfo.open()
|
||||
onExited: overrideButtonDisabledInfo.close()
|
||||
enabled: !detailsButton.enabled
|
||||
}
|
||||
|
||||
MonitorInfoBlurb
|
||||
{
|
||||
id: overrideButtonDisabledInfo
|
||||
text: catalog.i18nc("@info", "Please update your printer's firmware to manage the queue remotely.")
|
||||
target: detailsButton
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue