Summary: | Cumulative amount of main categories don't appear | ||
---|---|---|---|
Product: | [Applications] skrooge | Reporter: | maxime.haselbauer |
Component: | general | Assignee: | Stephane MANKOWSKI <stephane> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | stephane |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | View of the Categorie Tab that shows the problem |
Corrected: M +1 -0 CHANGELOG M +1 -2 skgbasegui/skgtreeview.cpp http://commits.kde.org/skrooge/916d409278f9a84382f5bb193570fd9158f3528e diff --git a/CHANGELOG b/CHANGELOG index c8e8d18..f78a405 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -8,6 +8,7 @@ skrooge (1.1.0) *Correction bug 284752: Skrooge does not look for Grantlee at build time *Correction bug 284843: OFX import does not work on UTF-8 encoded files *Correction bug 285289: Misspell found: reconcilation instead of reconciliation + *Correction bug 285880: Cumulative amount of main categories don't appear *Correction: Better colors in "5 main variations" widget for dashboard *Correction: Installation of grantlee_skroogefilters.so in only one place and not hardcoded *Correction: No more error when importing skg file with payees diff --git a/skgbasegui/skgtreeview.cpp b/skgbasegui/skgtreeview.cpp index 9170d5b..8cb9ff0 100644 --- a/skgbasegui/skgtreeview.cpp +++ b/skgbasegui/skgtreeview.cpp @@ -458,10 +458,9 @@ void SKGTreeView::setupHeaderMenu() //Span first column if(m_proxyModel) { - bool treeMode = !m_model->getParentChildAttribute().isEmpty(); int grouped_rows_count = m_proxyModel->rowCount(rootIndex()); for(int row = 0 ; row < grouped_rows_count ; row++) { - setFirstColumnSpanned(row, rootIndex(), treeMode || !m_groupby.isEmpty()); + setFirstColumnSpanned(row, rootIndex(), !m_groupby.isEmpty()); } } } |
Created attachment 65286 [details] View of the Categorie Tab that shows the problem Version: unspecified (using KDE 4.7.2) OS: Linux Using skrooge 1.0.0 In the categories Tab, all the main categories don't show their nb of operations as well as cumulative amount Surpringsingly when it's a sub category, information are shown (see attachement) Reproducible: Always Steps to Reproduce: This bug happens all the time for me Expected Results: The software should show information such as cumultative amount and number of operations even for categories that are main categories or that don't have sub categories I am using the wubi version of Kubuntu 11.04 natty narwhal