summaryrefslogtreecommitdiffstats
path: root/pkg/gui/merge_panel.go
diff options
context:
space:
mode:
authorJesse Duffield Duffield <jesseduffieldduffield@Jesses-MacBook-Pro-3.local>2019-02-25 22:11:35 +1100
committerJesse Duffield <jessedduffield@gmail.com>2019-03-02 17:49:30 +1100
commit8c0ea8f45fde1dfddd23198fcb06ae77468e3a3a (patch)
treeba923f1b86c26327ceec9f12de619265229bf642 /pkg/gui/merge_panel.go
parentafbc028ad6f2b8a580f6b22d13f3313ba5c44cf6 (diff)
mouse support
Diffstat (limited to 'pkg/gui/merge_panel.go')
-rw-r--r--pkg/gui/merge_panel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/merge_panel.go b/pkg/gui/merge_panel.go
index efb6c5544..0d10ed4d7 100644
--- a/pkg/gui/merge_panel.go
+++ b/pkg/gui/merge_panel.go
@@ -205,7 +205,7 @@ func (gui *Gui) refreshMergePanel() error {
panelState.ConflictIndex = len(panelState.Conflicts) - 1
}
- hasFocus := gui.currentViewName(gui.g) == "main"
+ hasFocus := gui.currentViewName() == "main"
content, err := gui.coloredConflictFile(cat, panelState.Conflicts, panelState.ConflictIndex, panelState.ConflictTop, hasFocus)
if err != nil {
return err