https://bugs.kde.org/show_bug.cgi?id=394124
Ralf Habacker <ralf.habac...@freenet.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |CONFIRMED Ever confirmed|0 |1 --- Comment #2 from Ralf Habacker <ralf.habac...@freenet.de> --- The problem is caused in void InvestTransactionEditor::dissectTransaction() where the transaction type is determined from the split value: 186: } else if (split.action() == MyMoneySplit::ActionBuyShares) { 187: transactionType = (!split.value().isNegative()) ? MyMoneySplit::BuyShares : MyMoneySplit::SellShares; In case the split value is zero, it is determined as BuyShares because it is not negative. -- You are receiving this mail because: You are watching all bug changes.