mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 15:53:44 +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,7 +558,8 @@ 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);
|
||||||
do_revision_overlays(ctx);
|
if (ctx->vcs_hist)
|
||||||
|
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