mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 18:27:51 -06:00
Fix hiding settings that were not visible by default
CURA-6556
This commit is contained in:
parent
c2b866fd05
commit
499e02579e
1 changed files with 1 additions and 11 deletions
|
@ -512,12 +512,7 @@ Item
|
|||
text: catalog.i18nc("@action:menu", "Hide this setting");
|
||||
onTriggered:
|
||||
{
|
||||
definitionsModel.hide(contextMenu.key);
|
||||
// visible settings have changed, so we're no longer showing a preset
|
||||
if (settingVisibilityPresetsModel.activePreset != "")
|
||||
{
|
||||
settingVisibilityPresetsModel.setActivePreset("custom");
|
||||
}
|
||||
definitionsModel.hide(contextMenu.key)
|
||||
}
|
||||
}
|
||||
MenuItem
|
||||
|
@ -545,11 +540,6 @@ Item
|
|||
{
|
||||
definitionsModel.show(contextMenu.key);
|
||||
}
|
||||
// visible settings have changed, so we're no longer showing a preset
|
||||
if (settingVisibilityPresetsModel.activePreset != "")
|
||||
{
|
||||
settingVisibilityPresetsModel.setActivePreset("custom");
|
||||
}
|
||||
}
|
||||
}
|
||||
MenuItem
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue