From 9177bcf8bc069a6822c217107a0a10d86936f516 Mon Sep 17 00:00:00 2001 From: Stefan Frederik Date: Sat, 6 Aug 2022 23:19:26 +0200 Subject: [PATCH] unselect objects when inserting a symbol using menu or toolbar to avoid moving them together with the inserted symbol --- src/scheduler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scheduler.c b/src/scheduler.c index 47a8a8b0..582f6b6c 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -1838,6 +1838,7 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg int ret; cmd_found = 1; xctx->semaphore++; + unselect_all(); xctx->mx_double_save = xctx->mousex_snap; xctx->my_double_save = xctx->mousey_snap; if(argc == 4) {