Commit 52007315 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

ToolChainOptions: Clear new name afer applying it

parent 70dd0be4
......@@ -292,8 +292,10 @@ void ToolChainModel::apply()
Q_ASSERT(n);
if (n->changed) {
Q_ASSERT(n->toolChain);
if (!n->newName.isEmpty())
if (!n->newName.isEmpty()) {
n->toolChain->setDisplayName(n->newName);
n->newName.clear();
}
if (n->widget)
n->widget->apply();
n->changed = false;
......
Supports Markdown
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