diff --git a/src/AddIns/Misc/SubversionAddIn/Project/Src/Gui/AuthentificationDialogs/LoginDialog.cs b/src/AddIns/Misc/SubversionAddIn/Project/Src/Gui/AuthentificationDialogs/LoginDialog.cs index fd11a690f6..94346c2b60 100644 --- a/src/AddIns/Misc/SubversionAddIn/Project/Src/Gui/AuthentificationDialogs/LoginDialog.cs +++ b/src/AddIns/Misc/SubversionAddIn/Project/Src/Gui/AuthentificationDialogs/LoginDialog.cs @@ -79,6 +79,7 @@ namespace ICSharpCode.Svn.Gui this.Realm = realm; this.MaySave = maySave; ((CheckBox)ControlDictionary["showPasswordCheckBox"]).CheckedChanged += new EventHandler(ShowPasswordCheckBoxCheckedChanged); + ((TextBox)ControlDictionary["pwd1TextBox"]).PasswordChar = '*'; ((TextBox)ControlDictionary["pwd2TextBox"]).PasswordChar = '*'; ((TextBox)ControlDictionary["pwd1TextBox"]).TextChanged += new EventHandler(PasswordTextChanged); @@ -94,6 +95,7 @@ namespace ICSharpCode.Svn.Gui ((TextBox)ControlDictionary["pwd2TextBox"]).Enabled = false; } else { ((TextBox)ControlDictionary["pwd1TextBox"]).PasswordChar = '*'; + ((TextBox)ControlDictionary["pwd2TextBox"]).Enabled = true; } } diff --git a/src/AddIns/Misc/SubversionAddIn/Project/Src/SvnClient.cs b/src/AddIns/Misc/SubversionAddIn/Project/Src/SvnClient.cs index 0ff6d6241f..8ab9f1e724 100644 --- a/src/AddIns/Misc/SubversionAddIn/Project/Src/SvnClient.cs +++ b/src/AddIns/Misc/SubversionAddIn/Project/Src/SvnClient.cs @@ -242,7 +242,7 @@ namespace ICSharpCode.Svn SimpleCredential PasswordPrompt(string realm, string userName, bool maySave) { using (LoginDialog loginDialog = new LoginDialog(realm, userName, maySave)) { - if (loginDialog.ShowDialog(ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.MainForm) == DialogResult.OK) { + if (WorkbenchSingleton.SafeThreadFunction