Debugger: Fix action to remove all watch items.

This commit is contained in:
Friedemann Kleint
2011-01-17 09:12:37 +01:00
parent 2f6a86d6a5
commit 7bae5dd556
2 changed files with 4 additions and 3 deletions

View File

@@ -379,7 +379,7 @@ void WatchWindow::contextMenuEvent(QContextMenuEvent *ev)
QAction *actRemoveWatchExpression = new QAction(removeWatchActionText(exp), &menu);
actRemoveWatchExpression->setEnabled(
(canHandleWatches || state == DebuggerNotReady) && !exp.isEmpty());
QAction *actRemoveWatches = new QAction(tr("Clear Watch Items"), &menu);
QAction *actRemoveWatches = new QAction(tr("Remove All Watch Items"), &menu);
actRemoveWatches->setEnabled(!WatchHandler::watcherNames().isEmpty());
if (m_type == LocalsType)