mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Remember opened state of settings panel
So if you restart Cura while the settings panel was open, it'll stay open when Cura is started back up. Contributes to issue CURA-6069.
This commit is contained in:
parent
ae7f843bbc
commit
96a6b7559e
3 changed files with 5 additions and 1 deletions
|
|
@ -29,4 +29,7 @@ Cura.ExpandableComponent
|
|||
property var extrudersModel: CuraApplication.getExtrudersModel()
|
||||
|
||||
contentItem: PrintSetupSelectorContents {}
|
||||
|
||||
onExpandedChanged: UM.Preferences.setValue("view/settings_visible", expanded)
|
||||
Component.onCompleted: expanded = UM.Preferences.getValue("view/settings_visible")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue