[Kmymoney-devel] [kmymoney4] [Bug 333498] New: bulk edit actions results in amount of transaction being zeroed

Allan agander93 at gmail.com
Wed Apr 16 23:08:13 UTC 2014


On 16/04/14 13:01, Chris wrote:
> https://bugs.kde.org/show_bug.cgi?id=333498
>
>              Bug ID: 333498
>             Summary: bulk edit actions results in amount of transaction
>                      being zeroed

I have a potential fix for this, which appears to do the necessary, 
without any apparent harmful effects.

In void StdTransactionEditor::slotUpdateCategory(const QString& id), 
circa line 1543, there is an updateAmount(val), which now I execute only
if (!isMultiSelection().

I don't know if there may be a better way/place to do this.

I notice also, that Buy and Sell activities have a similar problem if a 
fee account is entered.

Allan


More information about the KMyMoney-devel mailing list