debugger: don't allow L&E expansion while inferior runs

Change-Id: I1179f2b3b0f1e0099e5ab2a30b09e1216cd68fd7
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-01-17 18:51:45 +01:00
committed by hjk
parent 183769e7ef
commit 334b7cb426

View File

@@ -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)