Set startInWrite... in intention-based quick fix as in intention

So #KT-15870 Fixed
This commit is contained in:
mglukhikh
2017-03-31 11:10:43 +03:00
committed by Mikhail Glukhikh
parent 57c1d8eda4
commit ee239d59aa
@@ -153,7 +153,7 @@ abstract class IntentionBasedInspection<TElement : PsiElement>(
override fun getText(): String = text
override fun startInWriteAction() = true
override fun startInWriteAction() = intention.startInWriteAction()
override fun isAvailable(project: Project, editor: Editor?, file: PsiFile?) = isAvailable()