mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-28 13:21:10 -07:00
CURA-4870 Make the configuration selector only available for network
printers. Show the connection icon also for printers connected via USB or Octoprint.
This commit is contained in:
parent
7c875c154f
commit
1cf832653c
2 changed files with 23 additions and 22 deletions
|
|
@ -87,7 +87,8 @@ Rectangle
|
|||
}
|
||||
}
|
||||
|
||||
MachineSelection {
|
||||
MachineSelection
|
||||
{
|
||||
id: machineSelection
|
||||
width: base.width - configSelection.width - separator.width
|
||||
height: UM.Theme.getSize("sidebar_header").height
|
||||
|
|
@ -105,9 +106,10 @@ Rectangle
|
|||
anchors.left: machineSelection.right
|
||||
}
|
||||
|
||||
ConfigurationSelection {
|
||||
ConfigurationSelection
|
||||
{
|
||||
id: configSelection
|
||||
visible: isNetworkPrinter && !sidebar.monitoringPrint && !sidebar.hideSettings
|
||||
visible: isNetworkPrinter
|
||||
width: visible ? Math.round(base.width * 0.15) : 0
|
||||
height: UM.Theme.getSize("sidebar_header").height
|
||||
anchors.top: base.top
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue