Fix now showing any sidebar when in monitor mode

This commit is contained in:
ChrisTerBeke 2017-12-05 12:19:00 +01:00
parent e33288b7c8
commit 030dc74f3f
2 changed files with 12 additions and 28 deletions

View file

@ -366,7 +366,7 @@ UM.MainWindow
onStopMonitoringPrint: base.showPrintMonitor = false
}
Rectangle
Sidebar
{
id: sidebar
@ -378,24 +378,8 @@ UM.MainWindow
}
width: UM.Theme.getSize("sidebar").width
// This is the default sidebar view.
// It is hidden when the active sidebar view ID is not default.
Sidebar
{
id: defaultSidebar
anchors {
top: parent.top
bottom: parent.bottom
left: parent.left
right: parent.right
}
width: parent.width
z: 1
monitoringPrint: base.showPrintMonitor
}
z: 1
monitoringPrint: base.showPrintMonitor
}
Rectangle