diff: add DumbAware to the inner action too
authorAleksey Pivovarov <Aleksey.Pivovarov@jetbrains.com>
Mon, 3 Feb 2014 10:34:50 +0000 (14:34 +0400)
committerAleksey Pivovarov <Aleksey.Pivovarov@jetbrains.com>
Mon, 3 Feb 2014 12:35:03 +0000 (16:35 +0400)
Otherwise there will be empty dropdown list during indexing

platform/platform-impl/src/com/intellij/openapi/diff/actions/IgnoreWhiteSpacesAction.java

index 78c5ba756923d47454a44bf6922c205c0b5f9876..6a68ad75d5d81ea7784fca5f9619b477150f0860 100644 (file)
@@ -82,7 +82,7 @@ public class IgnoreWhiteSpacesAction extends ComboBoxAction implements DumbAware
     }
   }
 
-  private static class IgnoringPolicyAction extends AnAction {
+  private static class IgnoringPolicyAction extends AnAction implements DumbAware {
     private final ComparisonPolicy myPolicy;
 
     public IgnoringPolicyAction(String text, ComparisonPolicy policy) {