summaryrefslogtreecommitdiffstats
path: root/pkg/gui/list_context.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-19 19:31:58 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-23 14:29:18 +1000
commit2fac2f9f1f5f662c7a382e1b625d6128caa80093 (patch)
treecf7c71db43a503d095ce90026201db65c57fdbb7 /pkg/gui/list_context.go
parente4beaf4de96afee804d019e7c19eee833d3b1801 (diff)
WIP
Diffstat (limited to 'pkg/gui/list_context.go')
-rw-r--r--pkg/gui/list_context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/list_context.go b/pkg/gui/list_context.go
index 69ed01ef6..19cab887d 100644
--- a/pkg/gui/list_context.go
+++ b/pkg/gui/list_context.go
@@ -210,7 +210,7 @@ func (gui *Gui) remotesListContext() *ListContext {
ContextKey: "remotes",
GetItemsLength: func() int { return len(gui.State.Remotes) },
GetSelectedLineIdxPtr: func() *int { return &gui.State.Panels.Remotes.SelectedLine },
- OnFocus: gui.renderRemotesWithSelection,
+ OnFocus: gui.handleRemoteSelect,
OnItemSelect: gui.handleRemoteSelect,
OnClickSelectedItem: gui.handleRemoteEnter,
OnRender: gui.renderRemotesWithSelection,