[Kmymoney-devel] [Bug 274308] Crash on entering opening balance for new account
allan
agander93 at gmail.com
Sat May 28 13:43:07 CEST 2011
https://bugs.kde.org/show_bug.cgi?id=274308
--- Comment #1 from allan <agander93 gmail com> 2011-05-28 13:43:06 ---
The crash appears to be caused because,
in kmymoney/models/accountsmodel.cpp line 886 -
QStandardItem *accountItem = d->itemFromAccountId(this, account->id());
the item is not found, but the pointer is used.
I've inserted a return if there is a null pointer, and this avoids the crash.
The manually entered new account with opening balance can now be created, and
the failing qif can now be imported.
However, as I'm not au fait with this area, I would appreciate comments.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list