From acef2b0d2c51c65a5c305acb44d1de2e66664e89 Mon Sep 17 00:00:00 2001 From: Stefan Schippers Date: Sat, 10 Jun 2023 19:16:00 +0200 Subject: [PATCH] break_wires_at_pins(): inherit selected state of new created wires from ancestor wires --- src/check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/check.c b/src/check.c index d41b0bfc..3a32f0f9 100644 --- a/src/check.c +++ b/src/check.c @@ -440,7 +440,7 @@ void break_wires_at_pins(int remove) xctx->wire[xctx->wires].end2 = 0; xctx->wire[xctx->wires].x2=x0; xctx->wire[xctx->wires].y2=y0; - xctx->wire[xctx->wires].sel=SELECTED; + xctx->wire[xctx->wires].sel=xctx->wire[i].sel; xctx->wire[xctx->wires].prop_ptr=NULL; my_strdup(_ALLOC_ID_, &xctx->wire[xctx->wires].prop_ptr, xctx->wire[i].prop_ptr); if(!strcmp(get_tok_value(xctx->wire[xctx->wires].prop_ptr,"bus",0), "true"))