FIX: fix save preset problem

Change-Id: I0e6f53b0386e8f04babe2d6c7d18f515c37caae3
This commit is contained in:
zhimin.zeng 2023-06-29 15:15:30 +08:00 committed by Lane.Wei
parent 7910e681e4
commit a98b781425
5 changed files with 102 additions and 25 deletions

View file

@ -199,7 +199,7 @@ protected:
void reset_printing_values();
// save
bool save_presets(Preset* preset, const std::string& config_key, ConfigOption* config_value, const std::string& name);
bool save_presets(Preset* preset, const std::string& config_key, ConfigOption* config_value, const std::string& name, std::string& message);
// event handlers
void on_select_nozzle(wxCommandEvent& evt);