Ignored ParamsEdited information when doing a partial profile save.

The user-selected params will get saved, overriding any ParamsEdited
filtering.
Fixes #6303
This commit is contained in:
rom9
2021-07-27 21:18:08 +02:00
parent ef1c72cecd
commit 94b5f7232f

View File

@@ -359,7 +359,7 @@ void ProfilePanel::save_clicked (GdkEventButton* event)
if (isPartial) {
// Build partial profile
PartialProfile ppTemp(true);
partialProfileDlg->applyPaste(ppTemp.pparams, ppTemp.pedited, toSave->pparams, toSave->pedited);
partialProfileDlg->applyPaste(ppTemp.pparams, ppTemp.pedited, toSave->pparams, nullptr);
// Save partial profile
retCode = ppTemp.pparams->save(fname, "", true, ppTemp.pedited);
// Cleanup