Commit 512055d3 authored by Christian Stenger's avatar Christian Stenger Committed by hjk
Browse files

Debugger: Fix context menu item text



As it is possible to delete more than one selected breakpoint it
should be indicated in the menu.

Change-Id: Iabf6d4313e65bb65d7e822b05f448f459a7ae3a5
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>
parent f064dd1b
......@@ -743,7 +743,7 @@ void BreakTreeView::contextMenuEvent(QContextMenuEvent *ev)
Breakpoints selectedItems = handler->findBreakpointsByIndex(selectedIndices);
const int rowCount = model()->rowCount();
auto deleteAction = new QAction(tr("Delete Breakpoint"), &menu);
auto deleteAction = new QAction(tr("Delete Selected Breakpoints"), &menu);
deleteAction->setEnabled(!selectedItems.empty());
auto deleteAllAction = new QAction(tr("Delete All Breakpoints"), &menu);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment