1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-10-01 12:40:44 +03:00

eeshow/gui.c (go_to_sheet): don't try to access history if we have none

This commit is contained in:
Werner Almesberger 2016-08-09 12:03:36 -03:00
parent d320dbbf2b
commit d4e3018c12

View File

@ -558,7 +558,8 @@ static void go_to_sheet(struct gui_ctx *ctx, struct gui_sheet *sheet)
ctx->curr_sheet = sheet;
if (ctx->last_hist)
render_delta(ctx);
do_revision_overlays(ctx);
if (ctx->vcs_hist)
do_revision_overlays(ctx);
do_sheet_overlays(ctx);
zoom_to_extents(ctx);
}