mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Move the visible check within the component.
Contributes to CURA-5772.
This commit is contained in:
parent
5a5adb71cd
commit
c8bdf7321c
2 changed files with 3 additions and 4 deletions
|
@ -13,9 +13,6 @@ Item
|
|||
signal showTooltip(Item item, point location, string text)
|
||||
signal hideTooltip()
|
||||
|
||||
property bool isNetworkPrinter: Cura.MachineManager.activeMachineNetworkKey != ""
|
||||
property bool printerConnected: Cura.MachineManager.printerConnected
|
||||
|
||||
UM.I18nCatalog
|
||||
{
|
||||
id: catalog
|
||||
|
@ -53,7 +50,6 @@ Item
|
|||
Cura.QuickConfigurationSelector
|
||||
{
|
||||
id: configSelection
|
||||
visible: isNetworkPrinter && printerConnected
|
||||
width: visible ? Math.round(UM.Theme.getSize("sidebar").width * 0.15) : 0
|
||||
panelWidth: Math.round(0.8 * UM.Theme.getSize("sidebar").width)
|
||||
height: prepareMenu.height
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue