GH-729 use mod mmc_id as name when name is empty

This commit is contained in:
Petr Mrázek
2015-09-30 23:30:55 +02:00
parent 477a1a88c6
commit ac8ff88061
2 changed files with 16 additions and 7 deletions

View File

@ -57,6 +57,10 @@ public:
}
QString name() const
{
if(m_name.trimmed().isEmpty())
{
return m_mmc_id;
}
return m_name;
}