mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[SHELL32] Start Menu Customize: Fix bMustHideAdminTools (#6604)
Follow-up to #6603. Fix a bug in Admin Tools display. JIRA issue: CORE-16956 Fix the value of bMustHideAdminTools in CMenuSFToolbar::FillToolbar.
This commit is contained in:
parent
7f8c502901
commit
57592b7e22
1 changed files with 1 additions and 1 deletions
|
@ -1377,7 +1377,7 @@ HRESULT CMenuSFToolbar::FillToolbar(BOOL clearFirst)
|
||||||
L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||||
L"StartMenuAdminTools", FALSE, TRUE);
|
L"StartMenuAdminTools", FALSE, TRUE);
|
||||||
|
|
||||||
BOOL bMustHideAdminTools = IsPidlPrograms(m_idList) && StartMenuAdminTools;
|
BOOL bMustHideAdminTools = IsPidlPrograms(m_idList) && !StartMenuAdminTools;
|
||||||
TRACE("StartMenuAdminTools: %d\n", StartMenuAdminTools);
|
TRACE("StartMenuAdminTools: %d\n", StartMenuAdminTools);
|
||||||
TRACE("bMustHideAdminTools: %d\n", bMustHideAdminTools);
|
TRACE("bMustHideAdminTools: %d\n", bMustHideAdminTools);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue