From 3b104995fcae632e918c2b538d8ff1a92991d4a2 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Thu, 21 Aug 2025 20:49:57 +0200 Subject: [PATCH] check if cursor-b is enabled before annotating cursor-b position after descending schematic --- src/actions.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/actions.c b/src/actions.c index 74ebf4c3..203f7cf0 100644 --- a/src/actions.c +++ b/src/actions.c @@ -2516,7 +2516,9 @@ int descend_schematic(int instnumber, int fallback, int alert, int set_title) Graph_ctx *gr = &xctx->graph_struct; xRect *r = &xctx->rect[GRIDLAYER][0]; if(r->flags & 1) { - backannotate_at_cursor_b_pos(r, gr); + if(xctx->graph_flags & 4) { + backannotate_at_cursor_b_pos(r, gr); + } } } }