Fixes for v.0.7.20401
[pithos-ms-client] / trunk / Pithos.Client.WPF / Preferences / AddAccountViewModel.cs
index 4ae2a98..884ee7b 100644 (file)
@@ -214,6 +214,7 @@ namespace Pithos.Client.WPF.Preferences
                 Token = credentials.Password;
 
                 IsConfirmed = true;
+
             }
             catch (PithosException exc)
             {
@@ -233,6 +234,9 @@ namespace Pithos.Client.WPF.Preferences
                 ((Window) GetView()).Activate();
             }
 
+            if (IsConfirmed)
+                TaskEx.Run(TestAccount);
+
         }
 
         public AddAccountViewModel()