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

@@ -152,7 +152,7 @@ void History::historySelectionChanged () {
bTreeView->get_selection()->unselect_all ();
if (row && tpc) {
ProcParams pparams = row[historyColumns.params];
ParamsEdited pe;
ParamsEdited pe(true);
PartialProfile pp(&pparams, &pe);
ParamsEdited paramsEdited = row[historyColumns.paramsEdited];
tpc->profileChange (&pp, EvHistoryBrowsed, row[historyColumns.text], &paramsEdited);
@@ -177,7 +177,7 @@ void History::bookmarkSelectionChanged () {
hTreeView->get_selection()->unselect_all ();
if (row && tpc) {
ProcParams pparams = row[bookmarkColumns.params];
ParamsEdited pe;
ParamsEdited pe(true);
PartialProfile pp(&pparams, &pe);
ParamsEdited paramsEdited = row[bookmarkColumns.paramsEdited];
tpc->profileChange (&pp, EvBookmarkSelected, row[bookmarkColumns.text], &paramsEdited);