refs #404 Added human-readable plugin names

* Added new "identifier" attribute in JSON metadata files
* "identifier" is now the one that makes plugins unique
* "name" attribute is a human-readable name
This commit is contained in:
Michał Garapich
2015-04-11 14:36:47 +02:00
parent 2b07dfb789
commit 1d5cbb7a9d
7 changed files with 23 additions and 12 deletions

View File

@@ -91,7 +91,7 @@ namespace BlackGui
Q_ASSERT(data.canConvert<CSimulatorPluginInfo>());
CSimulatorPluginInfo p = data.value<CSimulatorPluginInfo>();
if (p.getName() == plugin.getName())
if (p.getIdentifier() == plugin.getIdentifier())
{
if (i == this->ui->cb_Plugins->currentIndex())
return;