[Kmymoney-devel] [Bug 279470] Accounts view is not updated when account data changes

Cristian Onet onet.cristian at gmail.com
Fri Aug 5 18:02:50 UTC 2011


--- Comment #1 from Cristian Onet <onet cristian gmail com>  2011-08-05 18:02:50 ---
Created an attachment (id=62582)
 --> (http://bugs.kde.org/attachment.cgi?id=62582)
This patch fixed the problem but should receive a bit of review before
committing it right before the release

The bug only affect accounts which are marked as 'Favorite'.

This happens because there are actually 2 items for such accounts in the
accounts model. In the future the 'Favorites' account grouping should be done
in a proxy (as if that would be easier :):)).

The fix consist in internal API change. The function which was used to retrieve
the account item by id (when the parent item was not known) now always returns
the account which is not the child of the 'Favorite accounts' item.

In the client code of this API in all the relevant places when an account is
favorite the corresponding item is also updated explicitly.


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