mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Only display plug-in checker when there's really a warning
As discussed with LukeChen-Ultimaker, we only want to display a button when there is really something up with the current set-up, not when there might be something up. Most users will be confused to see a button that always says that everything is fine. This also simplifies the signal handling a lot. Contributes to issue CURA-4557.
This commit is contained in:
parent
987b475e3b
commit
5bf93a8398
2 changed files with 38 additions and 39 deletions
|
@ -18,9 +18,9 @@ Button
|
|||
|
||||
UM.I18nCatalog{id: catalog; name:"cura"}
|
||||
|
||||
visible: manager.needCheck
|
||||
visible: manager.runChecks
|
||||
tooltip: catalog.i18nc("@info:tooltip", "Check current setup for known problems.")
|
||||
onClicked: manager.runChecks()
|
||||
onClicked: manager.showWarnings()
|
||||
|
||||
width: UM.Theme.getSize("save_button_specs_icons").width
|
||||
height: UM.Theme.getSize("save_button_specs_icons").height
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue