Commit df22d2c7 authored by Tobias Hunger's avatar Tobias Hunger

CMake: Do not lose value when renaming key in config model

Do not lose the value when the key gets changed in the CMake configuration
view in Project mode.

Task-number: QTCREATORBUG-17926
Change-Id: I7c55f815bc918da0267eed57385c2d641568dc8c
Reviewed-by: default avatarhjk <hjk@qt.io>
parent 63ce81db
......@@ -361,7 +361,6 @@ bool ConfigModelTreeItem::setData(int column, const QVariant &value, int role)
return false;
dataItem->key = newValue;
dataItem->isUserNew = true;
dataItem->isUserChanged = false;
return true;
case 1:
if (dataItem->value == newValue) {
......
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