Merge remote-tracking branch 'remotes/origin/ys_preset_externals_bf'

This commit is contained in:
bubnikv 2018-07-17 09:47:49 +02:00
commit 161a2bc6f8
2 changed files with 13 additions and 6 deletions

View file

@ -353,6 +353,10 @@ public:
// Generate a file path from a profile name. Add the ".ini" suffix if it is missing.
std::string path_from_name(const std::string &new_name) const;
// update m_edited_preset.is_external value after loading preset for .ini, .gcode, .amf, .3mf
void update_edited_preset_is_external(bool is_external) {
m_edited_preset.is_external = is_external; }
protected:
// Select a preset, if it exists. If it does not exist, select an invalid (-1) index.
// This is a temporary state, which shall be fixed immediately by the following step.