mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-28 13:21:10 -07:00
Add a preference check to enable or disable the experimental feature
This commit is contained in:
parent
86c7d3e5ab
commit
3829eb0905
4 changed files with 84 additions and 58 deletions
|
|
@ -741,6 +741,21 @@ UM.PreferencesPage
|
|||
}
|
||||
}
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
width: childrenRect.width
|
||||
height: childrenRect.height
|
||||
text: catalog.i18nc("@info:tooltip", "This option enables a panel showing the list of loaded models")
|
||||
|
||||
CheckBox
|
||||
{
|
||||
id: showListOfFilesCheckbox
|
||||
text: catalog.i18nc("@option:check", "Show list of loaded models")
|
||||
checked: boolCheck(UM.Preferences.getValue("cura/show_list_of_files"))
|
||||
onCheckedChanged: UM.Preferences.setValue("cura/show_list_of_files", checked)
|
||||
}
|
||||
}
|
||||
|
||||
Connections
|
||||
{
|
||||
target: UM.Preferences
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue