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

@ -139,6 +139,8 @@ public:
// If the "vendor" section is missing, enable all models and variants of the particular vendor.
void load_installed_printers(const AppConfig &config);
const std::string& get_preset_name_by_alias(const Preset::Type& preset_type, const std::string& alias) const;
static const char *PRUSA_BUNDLE;
private:
std::string load_system_presets();