Index: trunk/src/sch-rnd/file_act.c =================================================================== --- trunk/src/sch-rnd/file_act.c (revision 10329) +++ trunk/src/sch-rnd/file_act.c (revision 10330) @@ -252,6 +252,11 @@ rnd_multi_switch_to(NULL); /* empty conf so we can overwrite */ + /* NOTE: this may be a contradiction to use curr->hidlib.project instead of + NULL: create a new unlisted sheet from menu, name it /tmp/foo.rs + and it will be put in the current project in memory, but not in + the project file (since it's unlisted). So this sheet is now using + the wrong project.lht that it wouldn't use when loaded */ ns = sch_rnd_multi_new_empty_in_prj((csch_project_t *)curr->hidlib.project, path); free(path);