mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 04:54:04 -06:00
Switching to monitor tab now shows the correct sidebar again
CURA-3964
This commit is contained in:
parent
7e07482dec
commit
680cceb6f5
2 changed files with 10 additions and 12 deletions
|
@ -19,6 +19,16 @@ UM.MainWindow
|
|||
title: catalog.i18nc("@title:window","Cura");
|
||||
viewportRect: Qt.rect(0, 0, (base.width - sidebar.width) / base.width, 1.0)
|
||||
property bool monitoringPrint: false
|
||||
|
||||
Connections
|
||||
{
|
||||
target: Printer
|
||||
onShowPrintMonitor:
|
||||
{
|
||||
monitoringPrint = show;
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted:
|
||||
{
|
||||
CuraApplication.setMinimumWindowSize(UM.Theme.getSize("window_minimum_size"))
|
||||
|
@ -391,7 +401,6 @@ UM.MainWindow
|
|||
right: parent.right;
|
||||
}
|
||||
z: 1
|
||||
onMonitoringPrintChanged: base.monitoringPrint = monitoringPrint
|
||||
width: UM.Theme.getSize("sidebar").width;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue