forked from qt-creator/qt-creator
Debugger: Fix tooltips
Fixes: QTCREATORBUG-19574 Fixes: QTCREATORBUG-23807 Change-Id: I61f997e69f4a747aff8c5e1044bb6d856494ae47 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -2358,6 +2358,10 @@ void DebuggerEngine::updateItem(const QString &iname)
|
||||
QTC_CHECK(item);
|
||||
WatchModelBase *model = handler->model();
|
||||
QTC_CHECK(model);
|
||||
if (item && !item->wantsChildren) {
|
||||
updateToolTips();
|
||||
return;
|
||||
}
|
||||
if (item && !model->hasChildren(model->indexForItem(item))) {
|
||||
handler->notifyUpdateStarted(UpdateParameters(iname));
|
||||
item->setValue(decodeData({}, "notaccessible"));
|
||||
|
||||
Reference in New Issue
Block a user