[0.4.11][NETSHELL] Repair "Network Connection 'State' does nothing" CORE-18844

It regressed in this branch by 0.4.11-release-160-g 0e8bf0cbed
 ( in master it was by 0.4.15-dev-5613-g 7a17c7d9ad )

It was the only place within the ros sources where message WM_SHOWSTATUSDLG
was sent also from code. And therefore the only one that needed to be updated as well.

Fix picked from:
0.4.15-dev-5712-g a5cd42c1ea
This commit is contained in:
Joachim Henze 2023-02-19 22:56:02 +01:00
parent 5d463d517b
commit 6e30d1ca9f

View file

@ -923,7 +923,7 @@ CLanStatus::ShowStatusDialogByCLSID(const GUID *pguidCmdGroup)
{
if (IsEqualGUID(pItem->guidItem, *pguidCmdGroup))
{
SendMessageW(pItem->hwndDlg, WM_SHOWSTATUSDLG, 0, WM_LBUTTONDOWN);
SendMessageW(pItem->hwndDlg, WM_SHOWSTATUSDLG, 0, WM_LBUTTONUP);
return S_OK;
}
pItem = pItem->pNext;