mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-27 01:48:25 +02:00
eeshow/gui.c (go_to_sheet): don't try to access history if we have none
This commit is contained in:
parent
d320dbbf2b
commit
d4e3018c12
@ -558,6 +558,7 @@ static void go_to_sheet(struct gui_ctx *ctx, struct gui_sheet *sheet)
|
|||||||
ctx->curr_sheet = sheet;
|
ctx->curr_sheet = sheet;
|
||||||
if (ctx->last_hist)
|
if (ctx->last_hist)
|
||||||
render_delta(ctx);
|
render_delta(ctx);
|
||||||
|
if (ctx->vcs_hist)
|
||||||
do_revision_overlays(ctx);
|
do_revision_overlays(ctx);
|
||||||
do_sheet_overlays(ctx);
|
do_sheet_overlays(ctx);
|
||||||
zoom_to_extents(ctx);
|
zoom_to_extents(ctx);
|
||||||
|
Loading…
Reference in New Issue
Block a user