From 2a417e822b17e0cb34df294c5607840eab5d81fd Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Wed, 24 Dec 2014 17:36:24 +0300 Subject: [PATCH] Check for dumb mode before evaluation start --- .../versions/UnsupportedAbiVersionNotificationPanelProvider.java | 1 + 1 file changed, 1 insertion(+) diff --git a/idea/src/org/jetbrains/jet/plugin/versions/UnsupportedAbiVersionNotificationPanelProvider.java b/idea/src/org/jetbrains/jet/plugin/versions/UnsupportedAbiVersionNotificationPanelProvider.java index 23112e7774a..316542f66c0 100644 --- a/idea/src/org/jetbrains/jet/plugin/versions/UnsupportedAbiVersionNotificationPanelProvider.java +++ b/idea/src/org/jetbrains/jet/plugin/versions/UnsupportedAbiVersionNotificationPanelProvider.java @@ -187,6 +187,7 @@ public class UnsupportedAbiVersionNotificationPanelProvider extends EditorNotifi @Override public EditorNotificationPanel createNotificationPanel(@NotNull VirtualFile file, @NotNull FileEditor fileEditor) { try { + if (DumbService.isDumb(project)) return null; if (file.getFileType() != JetFileType.INSTANCE) return null; if (CompilerManager.getInstance(project).isExcludedFromCompilation(file)) return null;