diff --git a/src/main/java/adda/item/root/projectTree/ProjectTreeModel.java b/src/main/java/adda/item/root/projectTree/ProjectTreeModel.java index 888bc76..b6f4736 100644 --- a/src/main/java/adda/item/root/projectTree/ProjectTreeModel.java +++ b/src/main/java/adda/item/root/projectTree/ProjectTreeModel.java @@ -268,7 +268,10 @@ public void addProject(ProjectTreeNewItemModel newItemModel) { SettingsManager.saveSettings(setting); starDirtWatch(folder); - javax.swing.SwingUtilities.invokeLater(() -> reloadForce()); + javax.swing.SwingUtilities.invokeLater(() -> { + reloadForce(); + setSelectedPath(node); + }); } public void showNewProjectDialog() {