break_wires_at_pins(): inherit selected state of new created wires from ancestor wires

This commit is contained in:
Stefan Schippers 2023-06-10 19:16:00 +02:00
parent 3b3e723f8f
commit acef2b0d2c
1 changed files with 1 additions and 1 deletions

View File

@ -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"))