Commit 9159799a authored by Christian Stenger's avatar Christian Stenger Committed by Andre Poenitz
Browse files

Fix modifyContent() to take type in account as well



Change-Id: I1a4aeb10243afc5514330fceb3f502d9ea4432d1
Reviewed-by: default avatarAndre Poenitz <andre.poenitz@theqtcompany.com>
parent 81e4659a
......@@ -133,6 +133,10 @@ bool TestTreeItem::modifyContent(const TestTreeItem *modified)
m_mainFile = modified->m_mainFile;
hasBeenModified = true;
}
if (m_type != modified->m_type) {
m_type = modified->m_type;
hasBeenModified = true;
}
return hasBeenModified;
}
......
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