[Kmymoney-devel] [Bug 309105] Crash after editing security
Thomas Baumgart
ipwizard at users.sourceforge.net
Sun Oct 28 14:10:53 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=309105
--- Comment #5 from Thomas Baumgart <ipwizard at users.sourceforge.net> ---
Yes, that does it. The problem is caused during step 4. Within void
InstitutionsModel::slotObjectModified() the sequence
slotObjectRemoved(MyMoneyFile::notifyAccount, oldAccount.id());
slotObjectAdded(MyMoneyFile::notifyAccount, obj);
close to the end of the method is executed. oldAccount and obj reference the
investment account created in 1. Step 5 operates on the stock created in step 2
which is somehow not part of the model anymore. Looks like the subordinate
equity account gets lost during the call to slotObjectRemoved() in the model as
it is not found anymore during step 5.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list