mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Hide output device selection when there is only one option
CURA-1539
This commit is contained in:
parent
12140fb7f1
commit
9b1867cdaf
1 changed files with 3 additions and 3 deletions
|
@ -80,8 +80,8 @@ Rectangle {
|
|||
height: UM.Theme.getSize("save_button_save_to_button").height
|
||||
|
||||
anchors.top: parent.top
|
||||
anchors.right: deviceSelectionMenu.left;
|
||||
anchors.rightMargin: -3 * UM.Theme.getSize("default_lining").width;
|
||||
anchors.right: deviceSelectionMenu.visible ? deviceSelectionMenu.left : parent.right
|
||||
anchors.rightMargin: deviceSelectionMenu.visible ? -3 * UM.Theme.getSize("default_lining").width : UM.Theme.getSize("default_margin").width
|
||||
|
||||
text: UM.OutputDeviceManager.activeDeviceShortDescription
|
||||
onClicked:
|
||||
|
@ -128,8 +128,8 @@ Rectangle {
|
|||
width: UM.Theme.getSize("save_button_save_to_button").height
|
||||
height: UM.Theme.getSize("save_button_save_to_button").height
|
||||
enabled: base.backendState == 2 && base.activity == true
|
||||
visible: devicesModel.deviceCount > 1
|
||||
|
||||
//iconSource: UM.Theme.icons[UM.OutputDeviceManager.activeDeviceIconName];
|
||||
|
||||
style: ButtonStyle {
|
||||
background: Rectangle {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue