Bug fix: #143
This commit is contained in:
parent
2478c61df6
commit
904665da7f
7 changed files with 307 additions and 17 deletions
|
|
@ -172,7 +172,7 @@ namespace LibationFileManager
|
|||
|
||||
private string getTemplate(string settingName, Templates templ)
|
||||
{
|
||||
var value = persistentDictionary.GetString(settingName).Trim();
|
||||
var value = persistentDictionary.GetString(settingName)?.Trim();
|
||||
return templ.IsValid(value) ? value : templ.DefaultTemplate;
|
||||
}
|
||||
private void setTemplate(string settingName, Templates templ, string newValue)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue