Fix tabs when automatically switching to the monitor tab (on print start)

CURA-1036
This commit is contained in:
fieldOfView 2016-07-08 11:22:07 +02:00
parent 802e0b14b2
commit 2f3ffe2a18

View file

@ -18,7 +18,12 @@ Rectangle
Connections
{
target: Printer
onShowPrintMonitor: base.monitoringPrint = show
onShowPrintMonitor:
{
base.monitoringPrint = show;
showSettings.checked = !show;
showMonitor.checked = show;
}
}
// Is there an output device for this printer?
@ -83,6 +88,7 @@ Rectangle
anchors.right: parent.right
Button
{
id: showSettings
width: (parent.width - UM.Theme.getSize("default_margin").width) / 2
height: UM.Theme.getSize("sidebar_header").height
onClicked: monitoringPrint = false
@ -95,6 +101,7 @@ Rectangle
}
Button
{
id: showMonitor
width: (parent.width - UM.Theme.getSize("default_margin").width) / 2
height: UM.Theme.getSize("sidebar_header").height
onClicked: monitoringPrint = true