python: write action is unnecessary in some quick fixes
[idea/community.git] / python / src / com / jetbrains / python / inspections / quickfix / AddIgnoredIdentifierQuickFix.java
index 65348b8bfcee24e209275f8cc8af8ec0d2bceaed..c9c08cfee2cccb4def036f8fa618675f4a59ffda 100644 (file)
@@ -56,6 +56,11 @@ public class AddIgnoredIdentifierQuickFix implements LocalQuickFix, LowPriorityA
     return "Ignore unresolved reference";
   }
 
+  @Override
+  public boolean startInWriteAction() {
+    return false;
+  }
+
   @Override
   public void applyFix(@NotNull Project project, @NotNull ProblemDescriptor descriptor) {
     final PsiElement context = descriptor.getPsiElement();