mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 23:56:03 +08:00
Fix tabs when automatically switching to the monitor tab (on print start)
CURA-1036
This commit is contained in:
parent
802e0b14b2
commit
2f3ffe2a18
@ -18,7 +18,12 @@ Rectangle
|
|||||||
Connections
|
Connections
|
||||||
{
|
{
|
||||||
target: Printer
|
target: Printer
|
||||||
onShowPrintMonitor: base.monitoringPrint = show
|
onShowPrintMonitor:
|
||||||
|
{
|
||||||
|
base.monitoringPrint = show;
|
||||||
|
showSettings.checked = !show;
|
||||||
|
showMonitor.checked = show;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Is there an output device for this printer?
|
// Is there an output device for this printer?
|
||||||
@ -83,6 +88,7 @@ Rectangle
|
|||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
|
id: showSettings
|
||||||
width: (parent.width - UM.Theme.getSize("default_margin").width) / 2
|
width: (parent.width - UM.Theme.getSize("default_margin").width) / 2
|
||||||
height: UM.Theme.getSize("sidebar_header").height
|
height: UM.Theme.getSize("sidebar_header").height
|
||||||
onClicked: monitoringPrint = false
|
onClicked: monitoringPrint = false
|
||||||
@ -95,6 +101,7 @@ Rectangle
|
|||||||
}
|
}
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
|
id: showMonitor
|
||||||
width: (parent.width - UM.Theme.getSize("default_margin").width) / 2
|
width: (parent.width - UM.Theme.getSize("default_margin").width) / 2
|
||||||
height: UM.Theme.getSize("sidebar_header").height
|
height: UM.Theme.getSize("sidebar_header").height
|
||||||
onClicked: monitoringPrint = true
|
onClicked: monitoringPrint = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user