[vcs] IJPL-72638 Changed default value of 'Git.Settings.ShowTags' to true.

GitOrigin-RevId: e7938630fbaea470d56ba89553458f4106950e77
This commit is contained in:
Denis Zaichenko
2024-06-14 12:44:34 +02:00
committed by intellij-monorepo-bot
parent a4bf34f491
commit efed2ca992
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ class GitVcsOptions : BaseState() {
@get:OptionTag("SHOW_RECENT_BRANCHES")
var showRecentBranches by property(true)
@get:OptionTag("SHOW_TAGS")
var showTags by property(false)
var showTags by property(true)
@get:OptionTag("FILTER_BY_ACTION_IN_POPUP")
var filterByActionInPopup by property(true)

View File

@@ -116,7 +116,7 @@ internal class GitBranchesTreePopupShowTagsAction :
override fun getActionUpdateThread() = ActionUpdateThread.EDT
override fun isSelected(e: AnActionEvent): Boolean =
e.project?.let(GitVcsSettings::getInstance)?.showTags() ?: false
e.project?.let(GitVcsSettings::getInstance)?.showTags() ?: true
override fun setSelected(e: AnActionEvent, state: Boolean) {
val project = e.project ?: return