Skip to content
Snippets Groups Projects
Commit 31e98bf4 authored by dt's avatar dt
Browse files

Debugger: Fix en/disabling of "Delete All Breakpoints"

Reviewed-By: hjk
parent e06a03ac
No related branches found
No related tags found
No related merge requests found
......@@ -164,7 +164,7 @@ void BreakWindow::contextMenuEvent(QContextMenuEvent *ev)
deleteAction->setEnabled(si.size() > 0);
QAction *deleteAllAction = new QAction(tr("Delete All Breakpoints"), &menu);
deleteAllAction->setEnabled(si.size() > 0);
deleteAllAction->setEnabled(model()->rowCount() > 0);
// Delete by file: Find indices of breakpoints of the same file.
QAction *deleteByFileAction = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment