unselect objects when inserting a symbol using menu or toolbar to avoid moving them together with the inserted symbol
This commit is contained in:
parent
ecd006ad5d
commit
9177bcf8bc
|
|
@ -1838,6 +1838,7 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg
|
||||||
int ret;
|
int ret;
|
||||||
cmd_found = 1;
|
cmd_found = 1;
|
||||||
xctx->semaphore++;
|
xctx->semaphore++;
|
||||||
|
unselect_all();
|
||||||
xctx->mx_double_save = xctx->mousex_snap;
|
xctx->mx_double_save = xctx->mousex_snap;
|
||||||
xctx->my_double_save = xctx->mousey_snap;
|
xctx->my_double_save = xctx->mousey_snap;
|
||||||
if(argc == 4) {
|
if(argc == 4) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue