From 81c06cacc4168a8802000320d6d9a51d3ae689dc Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Wed, 22 May 2019 17:16:00 -0400 Subject: [PATCH] Debugger: Add missing SetTarget/AddItem. --- src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp b/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp index 50c8b4e6cb..1f222f90d6 100644 --- a/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp +++ b/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp @@ -1276,6 +1276,8 @@ TeamWindow::_Init() fMenuBar->AddItem(menu); item = new BMenuItem("Save debug report", new BMessage(MSG_CHOOSE_DEBUG_REPORT_LOCATION)); + menu->AddItem(item); + item->SetTarget(this); item = new BMenuItem("Write core file", new BMessage(MSG_CHOOSE_CORE_FILE_LOCATION)); menu->AddItem(item);