Render empty data band has been fixed

This commit is contained in:
Arin Alex
2016-12-07 23:04:15 +03:00
parent 2cb5f8e71c
commit 32bf7765ec
3 changed files with 62 additions and 41 deletions

View File

@@ -101,7 +101,7 @@ public:
bool canBeSplitted(int height) const;
bool isSplittable() const { return true;}
bool isEmpty() const{return m_text->isEmpty();}
bool isEmpty() const{return m_strText.trimmed().isEmpty() /*m_text->isEmpty()*/;}
BaseDesignIntf* cloneUpperPart(int height, QObject *owner, QGraphicsItem *parent);
BaseDesignIntf* cloneBottomPart(int height, QObject *owner, QGraphicsItem *parent);
BaseDesignIntf* createSameTypeItem(QObject* owner=0, QGraphicsItem* parent=0);