Skip to content

Commit 6a6d829

Browse files
committed
Cleanup
1 parent fe9c735 commit 6a6d829

File tree

1 file changed

+1
-7
lines changed
  • src/main/kotlin/com/gitlab/lae/intellij/actions/tree/app

1 file changed

+1
-7
lines changed

src/main/kotlin/com/gitlab/lae/intellij/actions/tree/app/RootAction.kt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,10 @@ data class RootAction(
2828
}
2929

3030
override fun beforeActionPerformedUpdate(e: AnActionEvent) {
31-
super.beforeActionPerformedUpdate(e)
3231
findAction(e)?.beforeActionPerformedUpdate(e)
3332
}
3433

3534
override fun update(e: AnActionEvent) {
36-
super.update(e)
37-
3835
/* It's important to disable this action when none inner action
3936
* is available to execute, so that the keystroke will be passed
4037
* through to the IDE for processing.
@@ -76,10 +73,7 @@ data class RootAction(
7673
*
7774
* The order of the inner actions of each [RootAction] is reverse.
7875
*/
79-
fun merge(
80-
actions: Collection<ActionNode>,
81-
actionManager: ActionManager,
82-
): List<RootAction> {
76+
fun merge(actions: Collection<ActionNode>, actionManager: ActionManager): List<RootAction> {
8377

8478
val (noKeys, byKeys) =
8579
actions

0 commit comments

Comments
 (0)