[Kmymoney-devel] [Bug 255476] Ledger view remains disabled after switching to a different file
Cristian Onet
onet.cristian at gmail.com
Thu Oct 28 19:06:25 CEST 2010
https://bugs.kde.org/show_bug.cgi?id=255476
Cristian Onet <onet.cristian at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Cristian Onet <onet cristian gmail com> 2010-10-28 19:06:25 ---
SVN commit 1190712 by conet:
BUG: 255476
Ledger view remains disabled after switching to a different file.
This was caused by the fact that the accounts model was not loaded by the time
the account selector in the ledger was being used to set the visible account.
This means that at that time the visible account could not be set. After the
accounts model gets loaded nobody tried to set the ledger's visible account
which is correct. Fix this problem by making sure that the accounts model is
loaded by the time the ledger's visible account is being set. Do this by
activating the "load on idle" feature only if there is a real account loaded
not after the first time like it was done before.
M +9 -1 accountsmodel.cpp
M +1 -1 accountsmodel.h
M +2 -3 models.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=1190712
--
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