summaryrefslogtreecommitdiff
path: root/gui/sheet.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/sheet.c')
-rw-r--r--gui/sheet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/sheet.c b/gui/sheet.c
index 3e83dfe..8b66bf9 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -665,7 +665,8 @@ static void sheet_key(void *user, int x, int y, int keyval)
break;
case GDK_KEY_v:
- view_full_commit(gui);
+ if (gui->commit_hover)
+ view_full_commit(gui);
break;
case GDK_KEY_q: