Index: rats_act.c =================================================================== --- rats_act.c (revision 21867) +++ rats_act.c (revision 21868) @@ -128,7 +128,7 @@ memset(&fctx, 0, sizeof(fctx)); fctx.flag_set = PCB_FLAG_FOUND; - fctx.flag_set_undoable = 1; + fctx.flag_chg_undoable = 1; fctx.consider_rats = !!conf_core.editor.conn_find_rat; res = pcb_find_from_xy(&fctx, PCB->Data, x, y); pcb_message(PCB_MSG_INFO, "found %ld objects\n", res);