From 0f9d201f0aa5a4d9584aa0d8ca1b4718ed07da73 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Tue, 18 Mar 2025 03:31:37 +0100 Subject: [PATCH] (2) insert symbol preview. Fixed some race conditions --- src/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions.c b/src/actions.c index 19becdd2..9d5b67d9 100644 --- a/src/actions.c +++ b/src/actions.c @@ -1599,7 +1599,7 @@ int place_symbol(int pos, const char *symbol_name, double x, double y, short rot } else { const char msg[]="scope_ammeter is being inserted but no selected ammeter device/vsource to link to\n"; dbg(0, "%s", msg); - if(has_x) tclvareval("alert_ {", msg, "} {} 0", NULL); + if(has_x) tclvareval("alert_ {", msg, "} {} 1", NULL); #if 1 if(xctx->inst[n].instname) my_free(_ALLOC_ID_, &xctx->inst[n].instname); if(xctx->inst[n].name) my_free(_ALLOC_ID_, &xctx->inst[n].name);