mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-16 22:31:51 +08:00
Explicitly set it to bool to prevent warnings
This commit is contained in:
parent
a266a4026c
commit
cb05bbadd0
@ -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…
x
Reference in New Issue
Block a user