Commit 9003105f authored by Tobias Hunger's avatar Tobias Hunger Committed by Christian Stenger
Browse files

Debugger: Do not mark unchanged items as changed in options page



Task-number: QTCREATORBUG-10642

Change-Id: Iff195abb90283ee731fe33acb75bcacd6d158e04
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 18f38709
......@@ -148,6 +148,12 @@ bool DebuggerItemModel::updateDebuggerStandardItem(const DebuggerItem &item, boo
QTC_ASSERT(sitem, return false);
QStandardItem *parent = sitem->parent();
QTC_ASSERT(parent, return false);
// Do not mark items as changed if they actually are not:
DebuggerItem orig = debuggerItem(sitem);
if (orig == item && DebuggerItemManager::findById(orig.id()))
changed = false;
int row = sitem->row();
QFont font = sitem->font();
font.setBold(changed);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment