mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
save project after it was opened (otherwise directory index could not be initialized)
This commit is contained in:
@@ -142,7 +142,6 @@ public class NewProjectUtil {
|
||||
|
||||
if (projectBuilder != null) {
|
||||
projectBuilder.commit(newProject, null, ModulesProvider.EMPTY_MODULES_PROVIDER);
|
||||
newProject.save();
|
||||
}
|
||||
|
||||
final boolean need2OpenProjectStructure = projectBuilder == null || projectBuilder.isOpenProjectSettingsAfter();
|
||||
@@ -185,6 +184,7 @@ public class NewProjectUtil {
|
||||
|
||||
projectManager.openProject(newProject);
|
||||
}
|
||||
newProject.save();
|
||||
}
|
||||
finally {
|
||||
if (projectBuilder != null) {
|
||||
|
||||
Reference in New Issue
Block a user