regedit: Fix handling of 'Copy Key Name' menu items.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
53a95d4104
commit
898ee58aa0
|
@ -158,7 +158,7 @@ static void update_copy_keyname_item(HMENU hMenu, WCHAR *keyName)
|
|||
{
|
||||
unsigned int state = MF_ENABLED;
|
||||
|
||||
if (!g_pChildWnd->nFocusPanel && !keyName)
|
||||
if (!keyName)
|
||||
state = MF_GRAYED;
|
||||
|
||||
EnableMenuItem(hMenu, ID_EDIT_COPYKEYNAME, state | MF_BYCOMMAND);
|
||||
|
|
Loading…
Reference in New Issue