mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2025-02-18 06:48:24 +00:00
Try to prevent any potential errors if config files fail to save.
This commit is contained in:
parent
1eab95f3c4
commit
7c396674f0
2 changed files with 4 additions and 2 deletions
|
@ -19,6 +19,7 @@ namespace FirstPlugin
|
|||
return;
|
||||
}
|
||||
|
||||
if (File.Exists(fileName))
|
||||
ReadConfigFromFile(fileName);
|
||||
}
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@ namespace Toolbox.Library
|
|||
return;
|
||||
}
|
||||
|
||||
if (File.Exists(fileName))
|
||||
ReadConfigFromFile(fileName);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue