Merge pull request #6042 from Ultimaker/CS-227_hide_incorrect_tooltip

Hide incorrect tooltip
This commit is contained in:
Ian Paschal 2019-07-23 11:50:06 +02:00 committed by GitHub
commit 52efdb77b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 15 deletions

View File

@ -243,10 +243,11 @@ Item
enabled: !contextMenuButton.enabled enabled: !contextMenuButton.enabled
} }
MonitorInfoBlurb // TODO: uncomment this tooltip as soon as the required firmware is released
{ // MonitorInfoBlurb
id: contextMenuDisabledInfo // {
text: catalog.i18nc("@info", "Please update your printer's firmware to manage the queue remotely.") // id: contextMenuDisabledInfo
target: contextMenuButton // text: catalog.i18nc("@info", "Please update your printer's firmware to manage the queue remotely.")
} // target: contextMenuButton
// }
} }

View File

@ -81,7 +81,7 @@ Item
mipmap: true mipmap: true
} }
} }
Item Item
{ {
@ -99,7 +99,7 @@ Item
height: 18 * screenScaleFactor // TODO: Theme! height: 18 * screenScaleFactor // TODO: Theme!
width: parent.width width: parent.width
radius: 2 * screenScaleFactor // TODO: Theme! radius: 2 * screenScaleFactor // TODO: Theme!
Label Label
{ {
text: printer && printer.name ? printer.name : "" text: printer && printer.name ? printer.name : ""
@ -202,12 +202,13 @@ Item
enabled: !contextMenuButton.enabled enabled: !contextMenuButton.enabled
} }
MonitorInfoBlurb // TODO: uncomment this tooltip as soon as the required firmware is released
{ // MonitorInfoBlurb
id: contextMenuDisabledInfo // {
text: catalog.i18nc("@info", "Please update your printer's firmware to manage the queue remotely.") // id: contextMenuDisabledInfo
target: contextMenuButton // text: catalog.i18nc("@info", "Please update your printer's firmware to manage the queue remotely.")
} // target: contextMenuButton
// }
CameraButton CameraButton
{ {
@ -454,4 +455,4 @@ Item
id: overrideConfirmationDialog id: overrideConfirmationDialog
printer: base.printer printer: base.printer
} }
} }