summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-21 12:50:00 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-21 12:50:00 -0300
commit513813be0325b7e29231c6a1e8c74758d1287eea (patch)
tree5ceb61815c17558df12d560899da4c9ead4d7ae8 /gui
parent61785455e59d234eed206958d617f400454b3160 (diff)
downloadeeshow-513813be0325b7e29231c6a1e8c74758d1287eea.tar.gz
eeshow-513813be0325b7e29231c6a1e8c74758d1287eea.tar.bz2
eeshow-513813be0325b7e29231c6a1e8c74758d1287eea.zip
eeshow/gui/history.c (click_history): must go_to_sheet to switch to revision
... also if we don't diff.
Diffstat (limited to 'gui')
-rw-r--r--gui/history.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/history.c b/gui/history.c
index d7d8d19..e17b8c3 100644
--- a/gui/history.c
+++ b/gui/history.c
@@ -154,6 +154,8 @@ static void click_history(void *user)
else
render_delta(ctx);
}
+ } else {
+ go_to_sheet(ctx, sheet);
}
if (ctx->old_hist == ctx->new_hist)