Created attachment 128876 [details]
All account types in the Budgets view
In the Budgets view all account types, including Asset, Liability, and Equity, are displayed.
STEPS TO REPRODUCE
1. Open the attached budget_test.kmy file.
2. Go to the Budgets view.
On the right hand side of the view there is an account hierarchy tree which displays all account types, including Asset, Liability, and Equity.
Only Income and Expense categories should be displayed in the Budgets view.
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Please find attached screenshots presenting the issue.
Created attachment 128877 [details]
Sample file - budget_test.kmy
Created attachment 128878 [details]
Only Income and Expense categories after fix
Git commit 8ae14acc9e894f07bffd1532d67be497ef7a9493 by Robert Szczesiak.
Committed on 29/05/2020 at 06:21.
Pushed by tbaumgart into branch 'master'.
Fix budget view displaying all account types
In the Budgets view all account types, including Asset, Liability, and
Equity, were displayed.
This commit solves the issue so that only Income and Exponse catergories
are displayed in the Budgets view.
Signed-off-by: Robert Szczesiak <email@example.com>
M +2 -4 kmymoney/widgets/budgetviewproxymodel.cpp