Line marker executor action should ask wrapped action to update event

This commit is contained in:
Alexander Zolotov
2017-02-09 15:46:15 +03:00
parent b1b343a784
commit 24287ff75b
@@ -86,6 +86,7 @@ class ExecutorAction private constructor(private val origin: AnAction, private v
override fun update(e: AnActionEvent) {
val name = getActionName(e.dataContext, executor)
e.presentation.isEnabledAndVisible = name != null
origin.update(e)
e.presentation.text = name
}