[BROWSEUI] Load settings on CInternetToolbar::OnContextMenu (#6182)

Based on KRosUser's go.patch.
CORE-19145
This commit is contained in:
Katayama Hirofumi MZ 2023-12-22 06:57:33 +09:00 committed by GitHub
parent 986809c719
commit 96d525959b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);