per default expand list view items in the server list which have connected clients

This commit is contained in:
Volker Fischer 2019-05-30 18:12:55 +02:00
parent 89e5f04e8a
commit 706a196b5f

View File

@ -409,6 +409,9 @@ void CConnectDlg::SetConnClientsList ( const CHostAddress& InetAddr,
// add the new child to the corresponding server item
pCurListViewItem->addChild ( pNewChildListViewItem );
// per default expand the list item
lvwServers->expandItem ( pCurListViewItem );
// at least one server has childs now, show decoration to be able
// to show the childs
lvwServers->setRootIsDecorated ( true );