Skip to content

Commit 385f14b

Browse files
committed
fix #1057
1 parent 7f039b5 commit 385f14b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/org/intellij/erlang/quickfixes/ErlangFindIncludeQuickFix.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ public void applyFix(@NotNull Project project,
8888
}
8989
//Multiple files -- allow user select which file should be imported
9090
if (matchFiles.length > 1) {
91-
displayPopupListDialog(project, problem, matchFiles, setDirectHrlLink, includeString, includeFileName);
91+
ApplicationManager.getApplication().invokeLater(
92+
() -> displayPopupListDialog(project, problem, matchFiles, setDirectHrlLink, includeString, includeFileName)
93+
);
9294
}
93-
94-
9595
}
9696

9797
private static void renameIncludeString(Project project,

0 commit comments

Comments
 (0)