Don't show unsupported presets in drop down list (#13959)

* Don't show unsupported presets in drop down list, since it's not useful

* Add option to show unsupported presets

* Explicitly set the default value to `false`

* update filament list without restart on preference change

---------

Co-authored-by: yw4z <ywsyildiz@gmail.com>
This commit is contained in:
Noisyfox
2026-06-04 09:02:09 +08:00
committed by GitHub
parent dfe4b52822
commit 58a8722a69
3 changed files with 13 additions and 1 deletions

View File

@@ -1408,7 +1408,9 @@ void PlaterPresetComboBox::update()
add_presets(bundle_presets, selected_bundle_preset, L("Bundle presets"), bundle_group_name);
// BBS: move system to the end
add_presets(system_presets, selected_system_preset, L("System presets"), _L("System"));
add_presets(uncompatible_presets, {}, L("Unsupported presets"), _L("Unsupported") + " ");
// Orca: optionally show unsupported presets (controlled by developer preference, default off)
if (wxGetApp().app_config->get_bool("show_unsupported_presets"))
add_presets(uncompatible_presets, {}, L("Unsupported presets"), _L("Unsupported") + " ");
//BBS: remove unused pysical printer logic
/*if (m_type == Preset::TYPE_PRINTER)