mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Merge pull request #1276 from farosch/quick_connect
Set focus to textbox instead of connecting,
This commit is contained in:
@@ -203,7 +203,10 @@ namespace mRemoteNG.UI.Controls
|
||||
private void btnQuickConnect_DropDownItemClicked(object sender, ToolStripItemClickedEventArgs e)
|
||||
{
|
||||
SetQuickConnectProtocol(e.ClickedItem.Text);
|
||||
btnQuickConnect_ButtonClick(this, e);
|
||||
if (string.IsNullOrEmpty(_cmbQuickConnect.Text))
|
||||
_cmbQuickConnect.Focus();
|
||||
else
|
||||
btnQuickConnect_ButtonClick(this, e);
|
||||
}
|
||||
|
||||
private void SetQuickConnectProtocol(string protocol)
|
||||
|
||||
Reference in New Issue
Block a user