summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers/remotes_controller.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/controllers/remotes_controller.go')
-rw-r--r--pkg/gui/controllers/remotes_controller.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/controllers/remotes_controller.go b/pkg/gui/controllers/remotes_controller.go
index ff3b943fb..12d2e7459 100644
--- a/pkg/gui/controllers/remotes_controller.go
+++ b/pkg/gui/controllers/remotes_controller.go
@@ -81,7 +81,7 @@ func (self *RemotesController) enter(remote *models.Remote) error {
if len(remote.Branches) == 0 {
newSelectedLine = -1
}
- self.contexts.RemoteBranches.GetPanelState().SetSelectedLineIdx(newSelectedLine)
+ self.contexts.RemoteBranches.SetSelectedLineIdx(newSelectedLine)
return self.c.PushContext(self.contexts.RemoteBranches)
}