regression fix: unselect all when placing a component, to avoid dragging selected stuff with the new object

This commit is contained in:
Stefan Schippers 2020-10-24 20:06:42 +02:00
parent 41e5d02edb
commit 6d4c8881f2
1 changed files with 1 additions and 0 deletions

View File

@ -925,6 +925,7 @@ int callback(int event, int mx, int my, KeySym key,
{
if(semaphore >= 2) break;
last_command = 0;
unselect_all();
/* place_symbol(-1,NULL,mousex_snap, mousey_snap, 0, 0, NULL,3, 1);*/
mx_save = mx; my_save = my;