mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
disable drop for non yet initialized projects
EA-119730 - assert: DumbServiceImpl.completeJustSubmittedTasks
This commit is contained in:
@@ -265,6 +265,12 @@ abstract class ProjectViewDropTarget implements DnDNativeTarget {
|
||||
Messages.showMessageDialog(myProject, "Move refactoring is not available while indexing is in progress", "Indexing", null);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!myProject.isInitialized()) {
|
||||
Messages.showMessageDialog(myProject, "Move refactoring is not available while project initialization is in progress", "Project Initialization", null);
|
||||
return;
|
||||
}
|
||||
|
||||
Module module = getModule(target);
|
||||
final DataContext dataContext = DataManager.getInstance().getDataContext(myTree);
|
||||
PsiDocumentManager.getInstance(myProject).commitAllDocuments();
|
||||
|
||||
Reference in New Issue
Block a user