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:
John Scipione
2014-07-18 09:15:23 -04:00
parent 5ddedec51a
commit 61dec7d2ec
+1 -1
View File
@@ -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();