mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 14:13:55 -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
|
Column
|
||||||
{
|
{
|
||||||
width: parent.width * 0.5
|
width: parent.width * 0.5
|
||||||
visible: base.selectedPrinter
|
visible: base.selectedPrinter ? true : false
|
||||||
spacing: UM.Theme.getSize("default_margin").height
|
spacing: UM.Theme.getSize("default_margin").height
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
|
@ -220,7 +220,7 @@ Cura.MachineAction
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
text: catalog.i18nc("@action:button", "Connect")
|
text: catalog.i18nc("@action:button", "Connect")
|
||||||
enabled: base.selectedPrinter
|
enabled: base.selectedPrinter ? true : false
|
||||||
onClicked: connectToPrinter()
|
onClicked: connectToPrinter()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue