mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[git-index] add missing text to refresh action
GitOrigin-RevId: f9a12bdf18c6500f570d5180e313db507c40857a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
21db441cef
commit
0cbfd96c03
@@ -3,9 +3,10 @@ package git4idea.index.actions
|
||||
|
||||
import com.intellij.openapi.actionSystem.AnAction
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent
|
||||
import com.intellij.openapi.vcs.VcsBundle
|
||||
import git4idea.index.ui.GIT_STAGE_TRACKER
|
||||
|
||||
class GitRefreshStageAction : AnAction() {
|
||||
class GitRefreshStageAction : AnAction(VcsBundle.messagePointer("action.name.refresh")) {
|
||||
|
||||
override fun update(e: AnActionEvent) {
|
||||
e.presentation.isEnabledAndVisible = e.getData(GIT_STAGE_TRACKER) != null
|
||||
|
||||
Reference in New Issue
Block a user