Commit 898ee58a authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

regedit: Fix handling of 'Copy Key Name' menu items.

parent 53a95d41
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment