|
@@ -343,7 +343,10 @@ public partial class MainWindow : IPanelHostControl
|
|
{
|
|
{
|
|
Logger.Send(LogType.Information, "", "Logging in");
|
|
Logger.Send(LogType.Information, "", "Logging in");
|
|
progress.Report("Logging in");
|
|
progress.Report("Logging in");
|
|
- loginStatus = TryAutoLogin();
|
|
|
|
|
|
+ Dispatcher.Invoke(() =>
|
|
|
|
+ {
|
|
|
|
+ loginStatus = TryAutoLogin();
|
|
|
|
+ });
|
|
if(loginStatus == ValidationStatus.VALID)
|
|
if(loginStatus == ValidationStatus.VALID)
|
|
{
|
|
{
|
|
// Do the AfterLogin() here so that we aren't opening and closing progress windows again and again.
|
|
// Do the AfterLogin() here so that we aren't opening and closing progress windows again and again.
|