mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't run intentions on closed editor (EA-77330 - assert: AbstractPopup.showInBestPositionFor)
This commit is contained in:
+1
-1
@@ -255,7 +255,7 @@ public class IntentionListStep implements ListPopupStep<IntentionActionWithTextC
|
||||
ApplicationManager.getApplication().invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (myProject.isDisposed()) return;
|
||||
if (myProject.isDisposed() || myEditor != null && myEditor.isDisposed()) return;
|
||||
if (DumbService.isDumb(myProject) && !DumbService.isDumbAware(cachedAction)) {
|
||||
DumbService.getInstance(myProject).showDumbModeNotification(cachedAction.getText() + " is not available during indexing");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user