aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/watchhandler.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2012-01-17 18:51:45 +0100
committerhjk <[email protected]>2012-01-17 18:52:40 +0100
commit334b7cb4263f6f831d1fa568c3116bbfc1d3dcb2 (patch)
tree22cd67395c563c4bc11c50b156be33dd60fff305 /src/plugins/debugger/watchhandler.cpp
parent183769e7ef586f613d2c429893c2d3c18588c051 (diff)
debugger: don't allow L&E expansion while inferior runs
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r--src/plugins/debugger/watchhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp
index 9fea42c7980..bc2d8462e0c 100644
--- a/src/plugins/debugger/watchhandler.cpp
+++ b/src/plugins/debugger/watchhandler.cpp
@@ -564,7 +564,7 @@ bool WatchModel::canFetchMore(const QModelIndex &index) const
{
WatchItem *item = watchItem(index);
QTC_ASSERT(item, return false);
- return index.isValid() && !m_fetchTriggered.contains(item->iname);
+ return index.isValid() && m_handler->m_contentsValid && !m_fetchTriggered.contains(item->iname);
}
void WatchModel::fetchMore(const QModelIndex &index)