Give value of config to const m_initial_config, not ref

This commit is contained in:
thewildmage
2023-07-13 21:33:49 -06:00
parent 7dc02c7112
commit 34c6122fed
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -8160,7 +8160,7 @@ void Plater::_calib_pa_pattern(const Calib_Params& params)
wxGetApp().get_tab(Preset::TYPE_PRINT)->update_dirty();
wxGetApp().get_tab(Preset::TYPE_PRINT)->reload_config();
DynamicPrintConfig full_config = wxGetApp().preset_bundle->full_config();
const DynamicPrintConfig full_config = wxGetApp().preset_bundle->full_config();
PresetBundle* preset_bundle = wxGetApp().preset_bundle;
CalibPressureAdvancePattern pa_pattern(
params,