Merge branch '3.0' of https://github.com/Ultimaker/Cura into 3.0

This commit is contained in:
ChrisTerBeke 2017-09-22 14:58:42 +02:00
commit 07610ea6bb
2 changed files with 4 additions and 2 deletions

View file

@ -16,6 +16,7 @@ Rectangle
property int currentModeIndex;
property bool hideSettings: PrintInformation.preSliced
property bool hideView: Cura.MachineManager.activeMachineName == ""
// Is there an output device for this printer?
property bool printerConnected: Cura.MachineManager.printerOutputDevices.length != 0
@ -123,7 +124,7 @@ Rectangle
width: parent.width * 0.45
font: UM.Theme.getFont("large")
color: UM.Theme.getColor("text")
visible: !monitoringPrint
visible: !monitoringPrint && !hideView
}
Rectangle {
@ -145,7 +146,7 @@ Rectangle
}
}
anchors.topMargin: UM.Theme.getSize("sidebar_margin").height
visible: !monitoringPrint && !hideSettings
visible: !monitoringPrint && !hideSettings && !hideView
Component{
id: wizardDelegate
Button {

View file

@ -27,6 +27,7 @@ Item
ScrollView
{
visible: Cura.MachineManager.activeMachineName != "" // If no printers added then the view is invisible
anchors.fill: parent
style: UM.Theme.styles.scrollview
flickableItem.flickableDirection: Flickable.VerticalFlick