Remove unused cheat context menu entries (#2463)
This commit is contained in:
parent
e2e1766c82
commit
c7f758bbd3
|
@ -346,9 +346,7 @@ LRESULT CCheatList::OnTreeRClicked(NMHDR * lpnmh)
|
||||||
|
|
||||||
GetCursorPos(&Mouse);
|
GetCursorPos(&Mouse);
|
||||||
|
|
||||||
MenuSetText(hPopupMenu, 0, wGS(CHEAT_ADDNEW).c_str(), nullptr);
|
MenuSetText(hPopupMenu, 0, wGS(CHEAT_DELETE).c_str(), nullptr);
|
||||||
MenuSetText(hPopupMenu, 1, wGS(CHEAT_EDIT).c_str(), nullptr);
|
|
||||||
MenuSetText(hPopupMenu, 3, wGS(CHEAT_DELETE).c_str(), nullptr);
|
|
||||||
|
|
||||||
if (m_hSelectedItem != nullptr && m_hCheatTree.GetChildItem(m_hSelectedItem) == nullptr)
|
if (m_hSelectedItem != nullptr && m_hCheatTree.GetChildItem(m_hSelectedItem) == nullptr)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1962,9 +1962,6 @@ IDR_CHEAT_MENU MENU
|
||||||
BEGIN
|
BEGIN
|
||||||
POPUP "Popup"
|
POPUP "Popup"
|
||||||
BEGIN
|
BEGIN
|
||||||
MENUITEM "Add New Cheat...", ID_POPUP_ADDNEWCHEAT
|
|
||||||
MENUITEM "Edit", ID_POPUP_EDIT
|
|
||||||
MENUITEM SEPARATOR
|
|
||||||
MENUITEM "Delete", ID_POPUP_DELETE
|
MENUITEM "Delete", ID_POPUP_DELETE
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
Loading…
Reference in New Issue