mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Fix tabs when automatically switching to the monitor tab (on print start)
CURA-1036
This commit is contained in:
parent
802e0b14b2
commit
2f3ffe2a18
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue