Work if no language file exists
This commit is contained in:
parent
d2f3423a5a
commit
3a8adbb7e1
@ -341,6 +341,11 @@ namespace EduNetworkBuilder
|
||||
|
||||
void Load()
|
||||
{
|
||||
if(! File.Exists(filename))
|
||||
{
|
||||
//The file does not exist yet. Nothing to load. Exit gracefully
|
||||
return;
|
||||
}
|
||||
Items.Clear();
|
||||
ResXResourceReader InResx = new ResXResourceReader(filename);
|
||||
InResx.UseResXDataNodes = true;
|
||||
|
Loading…
Reference in New Issue
Block a user