[hg] main-silver: Issue #233940 - after restart categories displ...

  • From: Jan Peska < >
  • To:
  • Subject: [hg] main-silver: Issue #233940 - after restart categories displ...
  • Date: Mon, 05 Aug 2013 10:38:52 -0700

changeset a491700e464f in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/a491700e464f
description:
        Issue #233940 - after restart categories display also completed tasks
        Add filter if finished task should not be displayed

diffstat:

 bugtracking/src/org/netbeans/modules/bugtracking/tasks/FilterPanel.java |  7 
++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (17 lines):

diff --git 
a/bugtracking/src/org/netbeans/modules/bugtracking/tasks/FilterPanel.java 
b/bugtracking/src/org/netbeans/modules/bugtracking/tasks/FilterPanel.java
--- a/bugtracking/src/org/netbeans/modules/bugtracking/tasks/FilterPanel.java
+++ b/bugtracking/src/org/netbeans/modules/bugtracking/tasks/FilterPanel.java
@@ -223,7 +223,12 @@
             }
         };
         chbShowFinished.setAction(action);
-        
chbShowFinished.setSelected(DashboardSettings.getInstance().showFinishedTasks());
+        boolean showFinishedTasks = 
DashboardSettings.getInstance().showFinishedTasks();
+        chbShowFinished.setSelected(showFinishedTasks);
+        if (!showFinishedTasks) {
+            int hits = 
DashboardViewer.getInstance().applyTaskFilter(openedTaskFilter, true);
+            manageHitCount(hits);
+        }
         popup.add(chbShowFinished);
 
         //<editor-fold defaultstate="collapsed" desc="schedule filters 
section">

[hg] main-silver: Issue #233940 - after restart categories displ...

Jan Peska 08/05/2013

Project Features

About this Project

ConnectedDeveloper was started in November 2009, is owned by tpavek, and has 66 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close