Index: trunk/src_plugins/tool_std/tool_arrow.c =================================================================== --- trunk/src_plugins/tool_std/tool_arrow.c (revision 37352) +++ trunk/src_plugins/tool_std/tool_arrow.c (revision 37353) @@ -40,6 +40,7 @@ #include "crosshair.h" #include "data.h" #include +#include #include "remove.h" #include "move.h" #include "search.h" @@ -68,6 +69,9 @@ rnd_design_t *hl = hv.ptr; pcb_board_t *pcb = hv.ptr; + if (hl != rnd_multi_get_current()) /* switched away or unloaded in the meantime */ + return; + if (hl->tool_click) { rnd_hid_notify_crosshair_change(&PCB->hidlib, rnd_false); hl->tool_click = rnd_false;