Skip to content

Commit 2fae8cc

Browse files
committed
2.4.1.8 - Fixed EmailPrompt since it should be reading from SMTP settings and not the old Application settings.
1 parent e3fe053 commit 2fae8cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/main/FormMain-Screenshots.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ private void emailScreenshot_Click(object sender, EventArgs e)
211211
selectedScreenshot = _screenshotCollection.GetScreenshot(selectedSlide.Name, Guid.Empty);
212212
}
213213

214-
bool.TryParse(_config.Settings.Application.GetByKey("EmailPrompt", _config.Settings.DefaultSettings.EmailPrompt).Value.ToString(), out bool prompt);
214+
bool.TryParse(Settings.SMTP.GetByKey("EmailPrompt", _config.Settings.DefaultSettings.EmailPrompt).Value.ToString(), out bool prompt);
215215

216216
if (EmailScreenshot(selectedScreenshot, prompt))
217217
{

0 commit comments

Comments
 (0)