Band background color has been fixed

This commit is contained in:
Arin Alex
2016-11-01 22:31:48 +03:00
parent 724e3c004c
commit bb6e934152
3 changed files with 9 additions and 6 deletions

View File

@@ -741,7 +741,10 @@ void BandDesignIntf::childBandDeleted(QObject *band)
QColor BandDesignIntf::alternateBackgroundColor() const
{
return m_alternateBackgroundColor;
if (metaObject()->indexOfProperty("alternateBackgroundColor")!=-1)
return m_alternateBackgroundColor;
else
return backgroundColor();
}
void BandDesignIntf::setAlternateBackgroundColor(const QColor &alternateBackgroundColor)