https://git.reactos.org/?p=reactos.git;a=commitdiff;h=96d525959b145bbaa52b48...
commit 96d525959b145bbaa52b4823b6d5cbfc46c0f65e Author: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com AuthorDate: Fri Dec 22 06:57:33 2023 +0900 Commit: GitHub noreply@github.com CommitDate: Fri Dec 22 06:57:33 2023 +0900
[BROWSEUI] Load settings on CInternetToolbar::OnContextMenu (#6182)
Based on KRosUser's go.patch. CORE-19145 --- dll/win32/browseui/internettoolbar.cpp | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dll/win32/browseui/internettoolbar.cpp b/dll/win32/browseui/internettoolbar.cpp index 697eb3936a7..80f962d181c 100644 --- a/dll/win32/browseui/internettoolbar.cpp +++ b/dll/win32/browseui/internettoolbar.cpp @@ -1684,6 +1684,8 @@ LRESULT CInternetToolbar::OnContextMenu(UINT uMsg, WPARAM wParam, LPARAM lParam, SendMessage(fMainReBar, RB_HITTEST, 0, (LPARAM)&hitTestInfo); if (hitTestInfo.iBand == -1) return 0; + + pSettings->Load(); rebarBandInfo.cbSize = sizeof(rebarBandInfo); rebarBandInfo.fMask = RBBIM_ID; SendMessage(fMainReBar, RB_GETBANDINFOW, hitTestInfo.iBand, (LPARAM)&rebarBandInfo);