gui: scroll to node when sync with editor
This commit is contained in:
@@ -320,6 +320,7 @@ public class MainWindow extends JFrame {
|
||||
TreePath path = new TreePath(pathNodes);
|
||||
tree.setSelectionPath(path);
|
||||
tree.makeVisible(path);
|
||||
tree.scrollPathToVisible(path);
|
||||
tree.requestFocus();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user