connect dialog: remove spaces from the parsed string in the the "Servername/Address" combo box

This commit is contained in:
dingodoppelt 2020-07-19 18:36:44 +02:00
parent d2654e18da
commit a0dce8e140

View file

@ -658,7 +658,8 @@ void CConnectDlg::OnConnectClicked()
} }
else else
{ {
strSelectedAddress = cbxServerAddr->currentText(); // remove all spaces from the parsed string in the the combo box
strSelectedAddress = cbxServerAddr->currentText().simplified().replace ( " ", "" );
} }
// tell the parent window that the connection shall be initiated // tell the parent window that the connection shall be initiated