mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
CURA-4870 Don't show the configuration selector if the printer is not a
network printer (for example don't show if is USB)
This commit is contained in:
parent
c69987b824
commit
23a2b6e0f7
3 changed files with 11 additions and 6 deletions
|
@ -12,7 +12,7 @@ import "Menus"
|
|||
|
||||
ToolButton {
|
||||
id: base
|
||||
property var isNetworkPrinter: Cura.MachineManager.activeMachineNetworkKey != ""
|
||||
property bool isNetworkPrinter: Cura.MachineManager.activeMachineNetworkKey != ""
|
||||
property var printerStatus: Cura.MachineManager.printerOutputDevices.length != 0 ? "connected" : "disconnected"
|
||||
text: isNetworkPrinter ? Cura.MachineManager.activeMachineNetworkGroupName : Cura.MachineManager.activeMachineName
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue