Switching to monitor tab now shows the correct sidebar again

CURA-3964
This commit is contained in:
Jaime van Kessel 2017-07-03 16:12:19 +02:00
parent 7e07482dec
commit 680cceb6f5
2 changed files with 10 additions and 12 deletions

View file

@ -15,18 +15,7 @@ Rectangle
id: base;
property int currentModeIndex;
property bool monitoringPrint: false; // When adding more "tabs", one want to replace this bool with a ListModel
property bool hideSettings: PrintInformation.preSliced
Connections
{
target: Printer
onShowPrintMonitor:
{
base.monitoringPrint = show;
showSettings.checked = !show;
showMonitor.checked = show;
}
}
// Is there an output device for this printer?
property bool printerConnected: Cura.MachineManager.printerOutputDevices.length != 0