[hg] main-silver: Keep expanded state for query nodes

  • From: Jan Peska < >
  • To:
  • Subject: [hg] main-silver: Keep expanded state for query nodes
  • Date: Thu, 08 Aug 2013 12:53:43 -0700

changeset f5d33a81c83a in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/f5d33a81c83a
description:
        Keep expanded state for query nodes

diffstat:

 
bugtracking/src/org/netbeans/modules/bugtracking/tasks/dashboard/RepositoryNode.java
 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (13 lines):

diff --git 
a/bugtracking/src/org/netbeans/modules/bugtracking/tasks/dashboard/RepositoryNode.java
 
b/bugtracking/src/org/netbeans/modules/bugtracking/tasks/dashboard/RepositoryNode.java
--- 
a/bugtracking/src/org/netbeans/modules/bugtracking/tasks/dashboard/RepositoryNode.java
+++ 
b/bugtracking/src/org/netbeans/modules/bugtracking/tasks/dashboard/RepositoryNode.java
@@ -178,8 +178,8 @@
             DashboardViewer dashboard = DashboardViewer.getInstance();
             if (!filteredQueryNodes.isEmpty()) {
                 List<QueryNode> children = filteredQueryNodes;
-                boolean expand = dashboard.expandNodes();
                 for (QueryNode queryNode : children) {
+                    boolean expand = dashboard.isNodeExpanded(queryNode);
                     queryNode.setExpanded(expand);
                 }
                 Collections.sort(children);

[hg] main-silver: Keep expanded state for query nodes

Jan Peska 08/08/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 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close