From f0a85b9b8e807029fba1dd2b5796f951fe1422a1 Mon Sep 17 00:00:00 2001 From: Dmitry Zhuravlev Date: Thu, 19 Dec 2019 16:07:10 +0300 Subject: [PATCH] git-branches-dashboard: find action invoked from log panel shouldn't switch focus to branches tree Should invoke "Go To Hash/Branch/Tag" action instead. GitOrigin-RevId: 5561d28f0d4218ee3965d50ca243ff4f2adf9c2d --- .../src/git4idea/ui/branch/dashboard/BranchesDashboardUi.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git4idea/src/git4idea/ui/branch/dashboard/BranchesDashboardUi.kt b/plugins/git4idea/src/git4idea/ui/branch/dashboard/BranchesDashboardUi.kt index b70cdcf6f5da..3845f8fab99c 100644 --- a/plugins/git4idea/src/git4idea/ui/branch/dashboard/BranchesDashboardUi.kt +++ b/plugins/git4idea/src/git4idea/ui/branch/dashboard/BranchesDashboardUi.kt @@ -176,7 +176,7 @@ internal class BranchesDashboardUi(val project: Project) : Disposable { else { IdeFocusManager.getInstance(project).requestFocus(tree.component, true) } - }.registerCustomShortcutSet(KeymapUtil.getActiveKeymapShortcuts("Find"), branchesTreeWithLogPanel) + }.registerCustomShortcutSet(KeymapUtil.getActiveKeymapShortcuts("Find"), branchesTreePanel) } fun getMainComponent(): JComponent {