Fix of Changing purge volumes doesn't set project as unsaved #7265

This commit is contained in:
Vojtech Bubnik 2021-11-12 17:05:19 +01:00
parent d43ddce078
commit f31a2db495
3 changed files with 15 additions and 6 deletions

View file

@ -457,6 +457,7 @@ FreqChangedParams::FreqChangedParams(wxWindow* parent) :
std::vector<float> extruders = dlg.get_extruders();
(project_config.option<ConfigOptionFloats>("wiping_volumes_matrix"))->values = std::vector<double>(matrix.begin(), matrix.end());
(project_config.option<ConfigOptionFloats>("wiping_volumes_extruders"))->values = std::vector<double>(extruders.begin(), extruders.end());
wxGetApp().plater()->update_project_dirty_from_presets();
wxPostEvent(parent, SimpleEvent(EVT_SCHEDULE_BACKGROUND_PROCESS, parent));
}
}));