mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
activate the properties option in the menu, also make it bold
See issue #2522 for more details. svn path=/trunk/; revision=28113
This commit is contained in:
parent
867e2eb7f4
commit
c5997cd18b
1 changed files with 6 additions and 3 deletions
|
@ -451,6 +451,12 @@ ListViewSelectionChanged(PMAIN_WND_INFO Info,
|
|||
EnableMenuItem(hMainMenu,
|
||||
ID_PROP,
|
||||
MF_ENABLED);
|
||||
EnableMenuItem(Info->hShortcutMenu,
|
||||
ID_PROP,
|
||||
MF_ENABLED);
|
||||
SetMenuDefaultItem(Info->hShortcutMenu,
|
||||
ID_PROP,
|
||||
MF_BYCOMMAND);
|
||||
}
|
||||
|
||||
/* activate delete menu item, if not already */
|
||||
|
@ -466,7 +472,6 @@ ListViewSelectionChanged(PMAIN_WND_INFO Info,
|
|||
MF_ENABLED);
|
||||
}
|
||||
|
||||
|
||||
/* set selected service */
|
||||
Info->SelectedItem = pnmv->iItem;
|
||||
|
||||
|
@ -487,8 +492,6 @@ ListViewSelectionChanged(PMAIN_WND_INFO Info,
|
|||
TB_SETSTATE,
|
||||
ID_PROP,
|
||||
(LPARAM)MAKELONG(TBSTATE_ENABLED, 0));
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue