forked from qt-creator/qt-creator
debugger: use book case also in new actions
This commit is contained in:
@@ -300,10 +300,10 @@ void WatchWindow::contextMenuEvent(QContextMenuEvent *ev)
|
|||||||
const bool canSetWatchpoint = engineCapabilities & WatchpointCapability;
|
const bool canSetWatchpoint = engineCapabilities & WatchpointCapability;
|
||||||
if (canSetWatchpoint && !address.isEmpty()) {
|
if (canSetWatchpoint && !address.isEmpty()) {
|
||||||
actSetWatchpoint =
|
actSetWatchpoint =
|
||||||
new QAction(tr("Break on changing %1").arg(address), &menu);
|
new QAction(tr("Break on Changing Contents of %1").arg(address), &menu);
|
||||||
} else {
|
} else {
|
||||||
actSetWatchpoint =
|
actSetWatchpoint =
|
||||||
new QAction(tr("Break on changing contents"), &menu);
|
new QAction(tr("Break on Changing Contents"), &menu);
|
||||||
actSetWatchpoint->setEnabled(false);
|
actSetWatchpoint->setEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user