From e90a7ca3e9e9a86c41ef5a2918addc49752bc3fe Mon Sep 17 00:00:00 2001 From: Joachim Henze Date: Sun, 19 Feb 2023 22:52:37 +0100 Subject: [PATCH] [0.4.13][NETSHELL] Repair "Network Connection 'State' does nothing" CORE-18844 It regressed in this branch by 0.4.13-release-120-g 19c57cab4d49fffe3ab232c74a4d1fb8e97b919b ( in master it was by 0.4.15-dev-5613-g 7a17c7d9adadf88eafc382d792771bea5fc412f8 ) 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 a5cd42c1ea8c2106a1a15dde66530d6f3b4ae02e --- dll/shellext/netshell/lanstatusui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/shellext/netshell/lanstatusui.cpp b/dll/shellext/netshell/lanstatusui.cpp index a3adc70cd1d..bb70020e3a5 100644 --- a/dll/shellext/netshell/lanstatusui.cpp +++ b/dll/shellext/netshell/lanstatusui.cpp @@ -944,7 +944,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;