diff --git a/resources/qml/Menus/ConfigurationMenu/SyncButton.qml b/resources/qml/Menus/ConfigurationMenu/SyncButton.qml index c292a792db..8fe9dacf9a 100644 --- a/resources/qml/Menus/ConfigurationMenu/SyncButton.qml +++ b/resources/qml/Menus/ConfigurationMenu/SyncButton.qml @@ -68,7 +68,8 @@ Button color: UM.Theme.getColor("text_emphasis") source: UM.Theme.getIcon("arrow_bottom") } - UM.RecolorImage { + UM.RecolorImage + { id: sidebarComboBoxLabel anchors.left: parent.left anchors.leftMargin: UM.Theme.getSize("default_margin").width @@ -86,17 +87,15 @@ Button label: Label {} } - Connections { + Connections + { target: outputDevice - onUniqueConfigurationsChanged: { - updateOnSync() - } + onUniqueConfigurationsChanged: updateOnSync() } - Connections { + Connections + { target: Cura.MachineManager - onCurrentConfigurationChanged: { - updateOnSync() - } + onCurrentConfigurationChanged: updateOnSync() } } \ No newline at end of file diff --git a/resources/qml/Sidebar.qml b/resources/qml/Sidebar.qml index 4744bbfda0..1c1bfca7c3 100644 --- a/resources/qml/Sidebar.qml +++ b/resources/qml/Sidebar.qml @@ -109,7 +109,7 @@ Rectangle ConfigurationSelection { id: configSelection - visible: isNetworkPrinter + visible: isNetworkPrinter && printerConnected width: visible ? Math.round(base.width * 0.15) : 0 height: UM.Theme.getSize("sidebar_header").height anchors.top: base.top