Solving issue 2735: "Apply/paste partial profile broken in build 4.2.147 - applies full parameters"

This commit is contained in:
Hombre
2015-04-10 02:00:14 +02:00
parent aa0551c8e7
commit 11e89e3d2e
9 changed files with 13 additions and 13 deletions

View File

@@ -574,7 +574,7 @@ void ProfilePanel::selection_changed () {
const PartialProfile* s = profileStore.getProfile (pse);
if (s) {
if (fillMode->get_active() && s->pedited) {
ParamsEdited pe;
ParamsEdited pe(true);
PartialProfile s2(s->pparams, &pe, false);
changeTo (&s2, pse->label+"+");
}
@@ -631,7 +631,7 @@ void ProfilePanel::initProfile (const Glib::ustring& profileFullPath, ProcParams
delete lastsaved; lastsaved = NULL;
}
if (lastSaved) {
ParamsEdited* pe = new ParamsEdited();
ParamsEdited* pe = new ParamsEdited(true);
// copying the provided last saved profile to ProfilePanel::lastsaved
lastsaved = new PartialProfile(lastSaved, pe);
}