Hide settings when pre-sliced g-code is loaded

CURA-5772
This commit is contained in:
Jaime van Kessel 2018-11-05 13:25:47 +01:00
parent ac9cfd8873
commit 2bb7b352ef

View file

@ -106,10 +106,10 @@ Rectangle
model: modesListModel
width: Math.round(parent.width * 0.55)
height: UM.Theme.getSize("print_setup_mode_toggle").height
visible: !hideSettings
anchors.right: parent.right
anchors.rightMargin: UM.Theme.getSize("thick_margin").width
anchors.top: settingsModeLabel.top
ButtonGroup
@ -191,6 +191,8 @@ Rectangle
anchors.right: parent.right
height: UM.Theme.getSize("print_setup_widget").height
visible: !hideSettings
// We load both of them at once (instead of using a loader) because the advanced sidebar can take
// quite some time to load. So in this case we sacrifice memory for speed.
SidebarAdvanced