Commit 6ae7e184 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix 'missing assignment' error after changing invest transaction to reinvest

The problem was caused by the fact that assetAccountSplit was not disabled
from the previous activity type.

BUG:388700
FIXED-IN:4.8.2
parent f7d4ba7d
......@@ -517,6 +517,7 @@ bool Reinvest::createTransaction(MyMoneyTransaction& t, MyMoneySplit& s0, MyMone
qDebug("more or less than one interest split in Reinvest::createTransaction. Not created.");
return false;
}
assetAccountSplit.setAccountId(QString());
MyMoneySplit& s1 = interestSplits[0];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment