mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Line marker executor action should ask wrapped action to update event
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user