mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-29 22:02:10 +00:00
FIX: Update the alias of imported presets
Jira: STUDIO-12801 Change-Id: I7583a2022a0f565103953ee0ca742593769da81f (cherry picked from commit cb470ae21279a555c7f4718673d83e3818b46bf0)
This commit is contained in:
@@ -592,7 +592,7 @@ public:
|
||||
const std::string& get_preset_name_by_alias(const std::string& alias) const;
|
||||
const std::string* get_preset_name_renamed(const std::string &old_name) const;
|
||||
bool is_alias_exist(const std::string &alias, Preset* preset = nullptr);
|
||||
void set_printer_hold_alias(const std::string &alias, Preset &preset);
|
||||
void set_printer_hold_alias(const std::string &alias, Preset &preset, bool remove = false);
|
||||
|
||||
// used to update preset_choice from Tab
|
||||
const std::deque<Preset>& get_presets() const { return m_presets; }
|
||||
|
||||
Reference in New Issue
Block a user