mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
(no message)
This commit is contained in:
@@ -226,8 +226,9 @@ public class CommanderPanel extends JPanel {
|
||||
final AbstractTreeNode selectedNode = getSelectedNode();
|
||||
if (selectedNode != null) {
|
||||
final Object value = selectedNode.getValue();
|
||||
if (value instanceof Navigatable && ((Navigatable)value).canNavigate()) {
|
||||
((Navigatable)value).navigate(true);
|
||||
if (selectedNode.canNavigate()) {
|
||||
selectedNode.navigate(true);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user