From 706a196b5f45d50a428e6343136848cccc65158e Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Thu, 30 May 2019 18:12:55 +0200 Subject: [PATCH] per default expand list view items in the server list which have connected clients --- src/connectdlg.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/connectdlg.cpp b/src/connectdlg.cpp index d72c922e..39f8bc14 100755 --- a/src/connectdlg.cpp +++ b/src/connectdlg.cpp @@ -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 );