mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 23:05:01 -06:00
More specific variable type for is_connected
Contributes to issue CURA-5876. Co-Authored-By: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
This commit is contained in:
parent
65d3aa4480
commit
9b8b91b6a4
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ Cura.ExpandableComponent
|
|||
height: implicitHeight //Required because ExpandableComponent will try to use this to determine the size of the background of the pop-up.
|
||||
spacing: UM.Theme.getSize("default_margin").height
|
||||
|
||||
property var is_connected: false //If current machine is connected to a printer. Only evaluated upon making popup visible.
|
||||
property bool is_connected: false //If current machine is connected to a printer. Only evaluated upon making popup visible.
|
||||
onVisibleChanged:
|
||||
{
|
||||
is_connected = Cura.MachineManager.activeMachineNetworkKey !== "" && Cura.MachineManager.printerConnected //Re-evaluate.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue