Index: trunk/src_plugins/dialogs/dlg_flag_edit.c =================================================================== --- trunk/src_plugins/dialogs/dlg_flag_edit.c (revision 22950) +++ trunk/src_plugins/dialogs/dlg_flag_edit.c (revision 22951) @@ -113,6 +113,8 @@ ctx.pcb = PCB; ctx.len = 0; + pcb_undo_save_serial(); + PCB_DAD_BEGIN_VBOX(dlg); PCB_DAD_COMPFLAG(dlg, PCB_HATF_LABEL | PCB_HATF_EXPFILL); sprintf(tmp, "Object flags of %s #%ld\n", pcb_obj_type_name(ctx.obj_type), ctx.obj->ID); @@ -142,6 +144,8 @@ PCB_DAD_RUN(dlg); PCB_DAD_FREE(dlg); + pcb_undo_restore_serial(); + pcb_undo_inc_serial(); } PCB_ACT_IRES(0);