Tracker: fix bug introduced in hrev17795
Ticket #298 for context. In BContainerWindow::AddWindowContextMenus() pasteItem is used but not declared if CUT_COPY_PASTE_IN_CONTEXT_MENU is defined.
This commit is contained in:
@@ -2928,7 +2928,7 @@ BContainerWindow::AddWindowContextMenus(BMenu* menu)
|
||||
if (needSeparator)
|
||||
menu->AddSeparatorItem();
|
||||
|
||||
#if 0
|
||||
#ifdef CUT_COPY_PASTE_IN_CONTEXT_MENU
|
||||
BMenuItem* pasteItem = new BMenuItem("Paste", new BMessage(B_PASTE), 'V');
|
||||
menu->AddItem(pasteItem);
|
||||
menu->AddSeparatorItem();
|
||||
|
||||
Reference in New Issue
Block a user