0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-01-11 17:18:10 +03:00

Changing page orientation has been fixed

This commit is contained in:
Arin Alexander 2016-04-21 01:13:28 +04:00
parent 34e114d7a4
commit 68d2f64c3c

View File

@ -448,6 +448,7 @@ void PageItemDesignIntf::setPageOrientation(PageItemDesignIntf::Orientation valu
qreal tmpWidth = width(); qreal tmpWidth = width();
setWidth(height()); setWidth(height());
setHeight(tmpWidth); setHeight(tmpWidth);
updateMarginRect();
notify("pageOrientation",oldValue,value); notify("pageOrientation",oldValue,value);
} }
m_sizeChainging = false; m_sizeChainging = false;