diff --git a/AppScaffolding/AppScaffolding.csproj b/AppScaffolding/AppScaffolding.csproj index ef8e7e9a..d69f6348 100644 --- a/AppScaffolding/AppScaffolding.csproj +++ b/AppScaffolding/AppScaffolding.csproj @@ -3,7 +3,7 @@ net5.0 - 6.3.1.1 + 6.3.2.1 diff --git a/LibationWinForms/Dialogs/SettingsDialog.cs b/LibationWinForms/Dialogs/SettingsDialog.cs index e148fc54..f8094ab6 100644 --- a/LibationWinForms/Dialogs/SettingsDialog.cs +++ b/LibationWinForms/Dialogs/SettingsDialog.cs @@ -141,17 +141,17 @@ namespace LibationWinForms.Dialogs return; } - if (Templates.Folder.IsValid(folderTemplateTb.Text)) + if (!Templates.Folder.IsValid(folderTemplateTb.Text)) { MessageBox.Show($"Not saving change to folder naming template. Invalid format.", "Invalid folder template", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } - if (Templates.File.IsValid(fileTemplateTb.Text)) + if (!Templates.File.IsValid(fileTemplateTb.Text)) { MessageBox.Show($"Not saving change to file naming template. Invalid format.", "Invalid file template", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } - if (Templates.ChapterFile.IsValid(chapterFileTemplateTb.Text)) + if (!Templates.ChapterFile.IsValid(chapterFileTemplateTb.Text)) { MessageBox.Show($"Not saving change to chapter file naming template. Invalid format.", "Invalid chapter file template", MessageBoxButtons.OK, MessageBoxIcon.Error); return;