summaryrefslogtreecommitdiff
path: root/gui/history.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/history.c')
-rw-r--r--gui/history.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/history.c b/gui/history.c
index f2862df..178084d 100644
--- a/gui/history.c
+++ b/gui/history.c
@@ -486,8 +486,11 @@ static void history_key(void *user, int x, int y, int keyval)
break;
case GDK_KEY_q:
gtk_main_quit();
+ break;
case GDK_KEY_v:
- view_full_commit(gui);
+ if (gui->commit_hover)
+ view_full_commit(gui);
+ break;
}
}