Commit 9a52e1dd authored by con's avatar con
Browse files

Some sanity fixes.

parent 69c920c6
......@@ -144,7 +144,7 @@ static QString findUnusedId(const QString &proposal, const QMap<QString, QList<E
while (!found && it.hasNext()) {
it.next();
foreach (ExternalTool *tool, it.value()) {
if (tool->id() == proposal) {
if (tool->id() == result) {
found = true;
break;
}
......@@ -216,6 +216,7 @@ void ToolSettings::apply()
}
items.append(toolToAdd);
}
if (!items.isEmpty())
resultMap.insert(it.key(), items);
}
ExternalToolManager::instance()->setToolsByCategory(resultMap);
......
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