Fix bug where user profile directory lost when loading from recent files. Profile had been saved in "current directory"
This commit is contained in:
parent
e594f8bac8
commit
508ac987f7
@ -1726,6 +1726,7 @@ namespace EduNetworkBuilder
|
||||
else if (extension == ".enbu")
|
||||
{
|
||||
CurrentUser = new PersonClass(filename);
|
||||
CurrentUser.filepath = Path.GetDirectoryName(filename); //store the directory
|
||||
OurSettings = NB.GetSettings(); //Grab the new settings from the user
|
||||
UpdateMenu();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user