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

Alexandre Julliard julliard at winehq.org
Thu Jun 1 18:49:37 CDT 2017


Module: wine
Branch: master
Commit: 898ee58aa03caad53dd24bdb4e3f6cb6e45d9d8d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=898ee58aa03caad53dd24bdb4e3f6cb6e45d9d8d

Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date:   Thu Jun  1 09:32:48 2017 +0000

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

Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/regedit/framewnd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/regedit/framewnd.c b/programs/regedit/framewnd.c
index 0aec59a..6930d7a 100644
--- a/programs/regedit/framewnd.c
+++ b/programs/regedit/framewnd.c
@@ -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);




More information about the wine-cvs mailing list