Index: trunk/src/plug_io.c =================================================================== --- trunk/src/plug_io.c (revision 35886) +++ trunk/src/plug_io.c (revision 35887) @@ -245,15 +245,16 @@ if (design_root_cnt == rnd_conf_main_root_replace_cnt[RND_CFR_DESIGN]) /* the newly loaded board did not bring a design root */ rnd_conf_reset(RND_CFR_DESIGN, ""); rnd_conf_load_project(NULL, Filename); - } - if (res == 0) pcb_set_design_dir(Filename); + } - if (load_settings != RND_CFR_invalid) + + if (load_settings != RND_CFR_invalid) { rnd_event(&PCB->hidlib, RND_EVENT_LOAD_POST, "si", Filename, res); - rnd_event(&PCB->hidlib, PCB_EVENT_ROUTE_STYLES_CHANGED, NULL); - rnd_conf_set(RND_CFR_DESIGN, "design/text_font_id", 0, "0", RND_POL_OVERWRITE); /* we have only one font now, make sure it is selected */ + rnd_event(&PCB->hidlib, PCB_EVENT_ROUTE_STYLES_CHANGED, NULL); + rnd_conf_set(RND_CFR_DESIGN, "design/text_font_id", 0, "0", RND_POL_OVERWRITE); /* we have only one font now, make sure it is selected */ + } pcb_plug_io_err(&Ptr->hidlib, res, "load pcb", Filename); return res;