mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-16 23:42:11 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user