Bug 403196

Summary: Displaying the ledger for a category shows the wrong account
Product: [Applications] kmymoney Reporter: Jack <ostroffjh>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: b-misc
Priority: NOR    
Version: 5.0.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 5.1.2
Sentry Crash Report:

Description Jack 2019-01-13 23:18:08 UTC
If you double click any category in the Category View, a ledger is displayed for all transactions in that category.  However, the account name displayed in the dropdown above the ledger shows the most recent account for which the ledger was displayed.  I assume it should show the name of the category, and as a wishlist extra, I think it should in some way show that the ledger is being displayed for a category, not a user-defined account.
Comment 1 mau 2020-02-20 08:25:44 UTC
I can confirm that behaviour and would see the proposed change as an improvement as well.
Comment 2 Dawid Wróbel 2021-06-21 06:19:42 UTC
Git commit 97ff800786c22022478d4a25759511f2e105acc8 by Dawid Wróbel.
Committed on 21/06/2021 at 06:19.
Pushed by wrobelda into branch '5.1'.

Also include categories in Ledger's accounts list

M  +5    -1    kmymoney/views/kgloballedgerview_p.h

https://invent.kde.org/office/kmymoney/commit/97ff800786c22022478d4a25759511f2e105acc8