mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 05:37:50 -06:00
Explicitly set it to bool to prevent warnings
This commit is contained in:
parent
a266a4026c
commit
cb05bbadd0
1 changed files with 2 additions and 2 deletions
|
@ -165,7 +165,7 @@ Cura.MachineAction
|
|||
Column
|
||||
{
|
||||
width: parent.width * 0.5
|
||||
visible: base.selectedPrinter
|
||||
visible: base.selectedPrinter ? true : false
|
||||
spacing: UM.Theme.getSize("default_margin").height
|
||||
Label
|
||||
{
|
||||
|
@ -220,7 +220,7 @@ Cura.MachineAction
|
|||
Button
|
||||
{
|
||||
text: catalog.i18nc("@action:button", "Connect")
|
||||
enabled: base.selectedPrinter
|
||||
enabled: base.selectedPrinter ? true : false
|
||||
onClicked: connectToPrinter()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue