File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 property bool isLE44
1818 property bool isLE46
1919
20- property bool prepareStageActive: Qt .binding (function ()
21- {
22- return UM .Controller .activeStage .toString ().indexOf (" PrepareStage" ) > 0
23- })
20+ property bool prepareStageActive: UM .Controller .activeStage .toString ().indexOf (" PrepareStage" ) == 0
2421 property bool preSlicedData: PrintInformation !== null && PrintInformation .preSliced
2522 property bool settingsVisible: UM .Preferences .getValue (" view/settings_visible" )
2623 property bool settingsDocked: UM .Preferences .getValue (" sidebargui/docked_sidebar" )
2724 property bool sidebarVisible: settingsVisible && (prepareStageActive || ! preSlicedData) && settingsDocked
2825 property real sidebarWidth: sidebarVisible ? printSetupSelector .width : 0
2926
30- onSidebarVisibleChanged:
31- {
32- base .onWidthChanged (base .width )
33- }
34-
3527 property var printSetupTooltip
3628
3729 Component .onCompleted :
@@ -187,12 +179,6 @@ Item
187179 }
188180 }
189181
190- onPreSlicedDataChanged:
191- {
192- settingsVisible = UM .Preferences .getValue (" view/settings_visible" )
193- base .onWidthChanged (base .width )
194- }
195-
196182 OpenFileButton {}
197183
198184 Cura .MachineSelector
334320 Tooltip .hideText ()
335321 }
336322
337- visible: ! settingsDocked && settingsVisible
323+ visible: ! settingsDocked && settingsVisible && (prepareStageActive || ! preSlicedData)
338324 onVisibleChanged:
339325 {
340326 if (visible)
You can’t perform that action at this time.
0 commit comments