NOISSUE ignore the 'Example Mod' mod name, use filename instead

This commit is contained in:
Petr Mrázek 2017-09-25 08:18:42 +02:00
parent c82042dcfa
commit f8c5cee982

View File

@ -58,7 +58,8 @@ public:
}
QString name() const
{
if(m_name.trimmed().isEmpty())
QString name = m_name.trimmed();
if(name.isEmpty() || name == "Example Mod")
{
return m_mmc_id;
}