mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
fix: exclude command line settings from being viewed in the frontend (CURA-566)
This commit is contained in:
parent
5490d9cce9
commit
e51f9ba678
4 changed files with 4 additions and 4 deletions
|
@ -258,7 +258,7 @@ class CuraApplication(QtApplication):
|
||||||
|
|
||||||
Preferences.getInstance().setDefault("general/visible_settings", """
|
Preferences.getInstance().setDefault("general/visible_settings", """
|
||||||
machine_settings
|
machine_settings
|
||||||
resolution
|
resolution
|
||||||
layer_height
|
layer_height
|
||||||
shell
|
shell
|
||||||
wall_thickness
|
wall_thickness
|
||||||
|
|
|
@ -401,7 +401,7 @@ Item {
|
||||||
}
|
}
|
||||||
visibilityHandler: UM.SettingPreferenceVisibilityHandler {}
|
visibilityHandler: UM.SettingPreferenceVisibilityHandler {}
|
||||||
expanded: [ "*" ]
|
expanded: [ "*" ]
|
||||||
exclude: [ "machine_settings" ]
|
exclude: [ "machine_settings", "command_line_settings" ]
|
||||||
}
|
}
|
||||||
delegate:Loader
|
delegate:Loader
|
||||||
{
|
{
|
||||||
|
|
|
@ -116,7 +116,7 @@ UM.PreferencesPage
|
||||||
id: definitionsModel
|
id: definitionsModel
|
||||||
containerId: Cura.MachineManager.activeDefinitionId
|
containerId: Cura.MachineManager.activeDefinitionId
|
||||||
showAll: true
|
showAll: true
|
||||||
exclude: ["machine_settings"]
|
exclude: ["machine_settings", "command_line_settings"]
|
||||||
showAncestors: true
|
showAncestors: true
|
||||||
expanded: ["*"]
|
expanded: ["*"]
|
||||||
visibilityHandler: UM.SettingPreferenceVisibilityHandler { }
|
visibilityHandler: UM.SettingPreferenceVisibilityHandler { }
|
||||||
|
|
|
@ -30,7 +30,7 @@ ScrollView
|
||||||
id: definitionsModel;
|
id: definitionsModel;
|
||||||
containerId: Cura.MachineManager.activeDefinitionId
|
containerId: Cura.MachineManager.activeDefinitionId
|
||||||
visibilityHandler: UM.SettingPreferenceVisibilityHandler { }
|
visibilityHandler: UM.SettingPreferenceVisibilityHandler { }
|
||||||
exclude: ["machine_settings", "infill_mesh", "infill_mesh_order"]
|
exclude: ["machine_settings", "command_line_settings", "infill_mesh", "infill_mesh_order"] # TODO: infill_mesh settigns are excluded hardcoded, but should be based on the fact that settable_globally, settable_per_meshgroup and settable_per_extruder are false.
|
||||||
expanded: Printer.expandedCategories
|
expanded: Printer.expandedCategories
|
||||||
onExpandedChanged: Printer.setExpandedCategories(expanded)
|
onExpandedChanged: Printer.setExpandedCategories(expanded)
|
||||||
onVisibilityChanged: Cura.SettingInheritanceManager.forceUpdate()
|
onVisibilityChanged: Cura.SettingInheritanceManager.forceUpdate()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue