Merge pull request #469 from dingodoppelt/remove_spaces

connect dialog: remove spaces from the parsed string in the the "Serv…
This commit is contained in:
Volker Fischer 2020-07-19 19:32:08 +02:00 committed by GitHub
commit 94055a817b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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