This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 258435
Collapse All | Expand All

(-)a/openide.explorer/src/org/openide/explorer/view/TreeView.java (-1 / +1 lines)
Lines 1223-1229 public abstract class TreeView extends JScrollPane implements ContextMenuCustomi Link Here
1223
            if (selPaths != null) {
1223
            if (selPaths != null) {
1224
                TreePath path = new TreePath(vn.getPathToRoot());
1224
                TreePath path = new TreePath(vn.getPathToRoot());
1225
                for(TreePath tp : selPaths) {
1225
                for(TreePath tp : selPaths) {
1226
                    if (path.isDescendant(tp)) {
1226
                    if (!path.equals(tp) && path.isDescendant(tp)) {
1227
                        if (remSel == null) {
1227
                        if (remSel == null) {
1228
                            remSel = new ArrayList<TreePath>();
1228
                            remSel = new ArrayList<TreePath>();
1229
                        }
1229
                        }

Return to bug 258435