Skip to content

Commit

Permalink
Fix when closing MainWindow to set preferred language to null.
Browse files Browse the repository at this point in the history
  • Loading branch information
giladreich committed Oct 19, 2018
1 parent c324bc6 commit 9083243
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Moodle.WebCrawler/Views/MainWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ private void MainWindow_FormClosing(object sender, FormClosingEventArgs e)
{
e.Cancel = true;
ResetUserLanguageToDefault();
userPreferredLanguage = null;

Close();
}
Expand Down

0 comments on commit 9083243

Please sign in to comment.