https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ded91e310a570323182df18325af29b62b2d0810

commit ded91e310a570323182df18325af29b62b2d0810
Author:     Whindmar Saksit <whinds...@proton.me>
AuthorDate: Fri Oct 20 13:02:14 2023 +0200
Commit:     GitHub <nore...@github.com>
CommitDate: Fri Oct 20 13:02:14 2023 +0200

    [SHELL32] Enable Apply button when shortcut show mode is changed (#5807)
    
    Basically this happens when the combobox selection changes.
---
 dll/win32/shell32/CShellLink.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dll/win32/shell32/CShellLink.cpp b/dll/win32/shell32/CShellLink.cpp
index d8951860328..bdd1b617082 100644
--- a/dll/win32/shell32/CShellLink.cpp
+++ b/dll/win32/shell32/CShellLink.cpp
@@ -2886,7 +2886,7 @@ void CShellLink::OnCommand(HWND hwndDlg, int id, HWND 
hwndCtl, UINT codeNotify)
             return;
         }
     }
-    if (codeNotify == EN_CHANGE)
+    if (codeNotify == EN_CHANGE || codeNotify == CBN_SELCHANGE)
     {
         if (!m_bInInit)
             PropSheet_Changed(GetParent(hwndDlg), hwndDlg);

Reply via email to