only store addresses which are not from the server list
This commit is contained in:
parent
d462cee138
commit
f5e8f6b68a
1 changed files with 5 additions and 1 deletions
|
@ -739,7 +739,11 @@ void CLlconClientDlg::ConnectDisconnect ( const bool bDoStart )
|
|||
{
|
||||
const QString strSelectedAddress = ConnectDlg.GetSelectedAddress();
|
||||
|
||||
if ( !strSelectedAddress.isEmpty() )
|
||||
// only store new host address in our data base if the address is
|
||||
// not empty and it was not a server list item (only the addresses
|
||||
// typed in manually are stored by definition)
|
||||
if ( !strSelectedAddress.isEmpty() &&
|
||||
!ConnectDlg.GetServerListItemWasChosen() )
|
||||
{
|
||||
CVector<QString> vstrTempList ( 0 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue