Skip to content

Commit

Permalink
project auto open after adding
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmunev committed Jan 27, 2024
1 parent c20c31b commit d472420
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit d472420

Please sign in to comment.