Fixed function to get a profile name by alias for all preset collections

This commit is contained in:
YuSanka 2019-11-29 11:02:30 +01:00
parent 71f5ed5b9e
commit 22aa17128a
6 changed files with 24 additions and 6 deletions

View file

@ -329,7 +329,7 @@ public:
Preset& get_edited_preset() { return m_edited_preset; }
const Preset& get_edited_preset() const { return m_edited_preset; }
const std::string& get_preset_name_by_alias(const std::string& alias);
const std::string& get_preset_name_by_alias(const std::string& alias) const;
// used to update preset_choice from Tab
const std::deque<Preset>& get_presets() const { return m_presets; }