Save category changes for custom tools in their xml.

This commit is contained in:
con
2011-02-10 10:03:46 +01:00
parent 6f991cb637
commit c422786b02
4 changed files with 8 additions and 3 deletions

View File

@@ -329,7 +329,7 @@ QModelIndex ExternalToolModel::addTool(const QModelIndex &atIndex)
category = categoryForIndex(atIndex.parent());
ExternalTool *tool = new ExternalTool;
tool->setCategory(category);
tool->setDisplayCategory(category);
tool->setDisplayName(tr("New tool"));
tool->setDescription(tr("This tool prints a line of useful text"));
tool->setExecutables(QStringList() << "echo");