mirror of
https://github.com/reactos/wine.git
synced 2025-01-19 10:13:01 +00:00
regedit: Update handling of the 'Modify' 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
adf298685f
commit
f0949baafc
@ -137,10 +137,11 @@ static void update_modify_items(HMENU hMenu, int index)
|
||||
{
|
||||
unsigned int state = MF_ENABLED;
|
||||
|
||||
if (!g_pChildWnd->nFocusPanel || index == -1)
|
||||
if (index == -1)
|
||||
state = MF_GRAYED;
|
||||
|
||||
EnableMenuItem(hMenu, ID_EDIT_MODIFY, state | MF_BYCOMMAND);
|
||||
EnableMenuItem(hMenu, ID_EDIT_MODIFY_BIN, state | MF_BYCOMMAND);
|
||||
}
|
||||
|
||||
static void update_delete_and_rename_items(HMENU hMenu, WCHAR *keyName, int index)
|
||||
|
Loading…
x
Reference in New Issue
Block a user