mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[lvcs] cleanup toggle for showing system labels
Follow-up: 8db1882e0072b53c19963005736980e330f71f34 GitOrigin-RevId: 1274103795c81c5fe121bc4e38f942953f79d034
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8278f75512
commit
cf029f49a7
+3
-4
@@ -3,15 +3,14 @@ package com.intellij.platform.lvcs.impl.actions
|
||||
|
||||
import com.intellij.openapi.actionSystem.ActionUpdateThread
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent
|
||||
import com.intellij.openapi.actionSystem.ToggleAction
|
||||
import com.intellij.openapi.components.service
|
||||
import com.intellij.openapi.project.DumbAware
|
||||
import com.intellij.openapi.project.DumbAwareToggleAction
|
||||
import com.intellij.platform.lvcs.impl.settings.ActivityViewApplicationSettings
|
||||
import com.intellij.platform.lvcs.impl.ui.ActivityViewDataKeys
|
||||
|
||||
internal class ShowSystemLabelsAction: ToggleAction(), DumbAware {
|
||||
internal class ShowSystemLabelsAction: DumbAwareToggleAction() {
|
||||
|
||||
override fun getActionUpdateThread(): ActionUpdateThread = ActionUpdateThread.EDT
|
||||
override fun getActionUpdateThread(): ActionUpdateThread = ActionUpdateThread.BGT
|
||||
|
||||
override fun isSelected(e: AnActionEvent): Boolean {
|
||||
return isShowSystemLabelsEnabled()
|
||||
|
||||
Reference in New Issue
Block a user