Index: undo.c =================================================================== --- undo.c (revision 15904) +++ undo.c (revision 15905) @@ -81,11 +81,8 @@ int pcb_undo(pcb_bool draw) { - int res, unique; + int res; - unique = conf_core.editor.unique_names; - conf_force_set_bool(conf_core.editor.unique_names, 0); - pcb_undo_and_draw = draw; if (pcb_uundo.num_undo == 0) { @@ -122,9 +119,6 @@ else if (pcb_undo_and_draw) pcb_draw(); - /* restore the unique flag setting */ - conf_force_set_bool(conf_core.editor.unique_names, unique); - return res; }