Fixed crash on add item via favorite button after application start.

Favorite buttons has short name labels.
closes #296
refs #293
This commit is contained in:
2017-04-04 21:57:36 +02:00
parent aa91acbe17
commit 4b3a2e1dd7
11 changed files with 40 additions and 18 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ void CommodityData::setName(const QString &name)
{
m_name = name;
}
QString CommodityData::shortName() const
QString CommodityData::shortName()
{
return m_shortName;
}
+1 -1
View File
@@ -31,7 +31,7 @@ public:
QString name() override;
void setName(const QString &name);
QString shortName() const;
QString shortName() override;
void setShortName(const QString &shortName);
QString code() const;