Try to prevent any potential errors if config files fail to save.
This commit is contained in:
parent
1eab95f3c4
commit
7c396674f0
@ -19,6 +19,7 @@ namespace FirstPlugin
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (File.Exists(fileName))
|
||||||
ReadConfigFromFile(fileName);
|
ReadConfigFromFile(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ namespace Toolbox.Library
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (File.Exists(fileName))
|
||||||
ReadConfigFromFile(fileName);
|
ReadConfigFromFile(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user