IDEA-164859 Throwable at com.intellij.openapi.application.impl.NoSwingUnderWriteAction.a

This commit is contained in:
Dmitry Avdeev
2016-12-05 17:08:54 +03:00
parent 833c72688f
commit 7431c27fee
@@ -57,6 +57,11 @@ public class AddSchemaPrefixIntention extends PsiElementBaseIntentionAction {
return NAME;
}
@Override
public boolean startInWriteAction() {
return false;
}
@Override
public void invoke(@NotNull Project project, Editor editor, @NotNull PsiElement element) throws IncorrectOperationException {
final XmlAttribute xmlns = getXmlnsDeclaration(element);