Summary: | Displaying the ledger without an account having been selected displays a closed account | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Jack <ostroffjh> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | merlinux |
Priority: | NOR | ||
Version: | 5.0.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kmymoney/6a5731e0707a14924d80db3c2e9d8913cf593665 | Version Fixed In: | 5.0.1 |
Sentry Crash Report: |
Description
Jack
2018-03-05 21:05:35 UTC
I never saw this problem since all my files have at least one preferred account setup and the first of them shown in the combo box is the one that is selected. Turning off all those preferred account settings I was able to duplicate the problem. I just checked kmm 4.8.1, in my case the acct displayed does seem to be the one with the lowest internal ID. Could kmm5 just do the same? I think this is how Investments view implicitly selects the oldest account as the default. I have no preferred accounts. Git commit 6a5731e0707a14924d80db3c2e9d8913cf593665 by Thomas Baumgart. Committed on 06/03/2018 at 20:04. Pushed by tbaumgart into branch '5.0'. Select first account in combo box drop down After program start the first non-invest account found in the accounts model was used to be loaded into the ledger if no account was selected otherwise. This has been changed so that the first non-closed, non-investment account in the combo-box at the top of the ledger view. FIXED-IN: 5.0.1 M +3 -4 kmymoney/views/kgloballedgerview_p.h https://commits.kde.org/kmymoney/6a5731e0707a14924d80db3c2e9d8913cf593665 I just cherry-picked your commit 6a5731e0 and it now looks good! Sorry for all the fuss about a minor issue. This was the last of my bugs, but I'll keep looking. |