Emitting band's signal preparedForRender has been fixed

This commit is contained in:
Arin Alexander 2019-02-05 23:53:36 +03:00
parent 867448d0fd
commit 8a4daa889f

View File

@ -1054,7 +1054,7 @@ void BandDesignIntf::updateItemSize(DataSourceManager* dataManager, RenderPass p
restoreLinks();
snapshotItemsLayout();
BandDesignIntf* patternBand = dynamic_cast<BandDesignIntf*>(patternItem());
if (patternBand) emit(patternBand->preparedForRender());
if (patternBand && pass == FirstPass) emit(patternBand->preparedForRender());
arrangeSubItems(pass, dataManager);
if (autoHeight()){
if (!keepTopSpace()) {