Debugger: Don't update watch view needlessly

Column width computation is not cheap.

Change-Id: I615e1f9888f32171c478bfa2be565a91d669e8a2
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
hjk
2015-03-26 16:59:51 +01:00
parent 179d4aea67
commit b0977f8322
2 changed files with 2 additions and 2 deletions

View File

@@ -877,7 +877,8 @@ bool WatchModel::setData(const QModelIndex &idx, const QVariant &value, int role
} else {
m_expandedINames.remove(item->iname);
}
emit columnAdjustmentRequested();
if (item->iname.contains('.'))
emit columnAdjustmentRequested();
break;
case LocalsTypeFormatRole: