#286 Alternate colors issue has been fixed

This commit is contained in:
Arin Alexandex
2020-08-12 16:45:05 +03:00
parent d1c97a123a
commit 1fb652e134
5 changed files with 20 additions and 16 deletions

View File

@@ -249,6 +249,12 @@ bool BandDesignIntf::isNeedUpdateSize(RenderPass pass) const{
return false;
}
void BandDesignIntf::copyBandAttributes(BandDesignIntf *source)
{
this->copyBookmarks(source);
this->setBackgroundColor(source->backgroundColor());
}
void BandDesignIntf::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
prepareRect(painter, option, widget);