Commit a3cfa691 authored by con's avatar con
Browse files

Fix "External Tools Menu" item in tools preferences again.

It was showing an empty string if you hadn't a tool in it from the
beginning now.
parent b5e79e35
......@@ -452,8 +452,8 @@ void ExternalToolConfig::setTools(const QMap<QString, QList<ExternalTool *> > &t
itemCopy.append(new ExternalTool(tool));
toolsCopy.insert(it.key(), itemCopy);
if (!toolsCopy.contains(QString()))
toolsCopy.insert(QString(), QList<ExternalTool *>());
if (!toolsCopy.contains(QString("")))
toolsCopy.insert(QString(""), QList<ExternalTool *>());
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