mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
Added update_tab_presets functions to m_cc_preset_choise filling
This commit is contained in:
parent
e4b767e840
commit
004f9ba1e5
6 changed files with 74 additions and 19 deletions
|
@ -417,6 +417,10 @@ const Preset* PresetCollection::get_selected_preset_parent() const
|
|||
return (preset == nullptr || preset->is_default || preset->is_external) ? nullptr : preset;
|
||||
}
|
||||
|
||||
const std::string& PresetCollection::get_suffix_modified() {
|
||||
return g_suffix_modified;
|
||||
}
|
||||
|
||||
// Return a preset by its name. If the preset is active, a temporary copy is returned.
|
||||
// If a preset is not found by its name, null is returned.
|
||||
Preset* PresetCollection::find_preset(const std::string &name, bool first_visible_if_not_found)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue