src/gui/widget/textbox.cpp try to fix paint sidebar

This commit is contained in:
Jacek Jendrzej
2016-08-15 15:49:04 +02:00
parent 5610aa280e
commit c9b5470a47

View File

@@ -563,7 +563,7 @@ void CTextBox::refreshText(void)
//bg variables
int ax = m_cFrameTextRel.iX+m_cFrame.iX;
int ay = m_cFrameTextRel.iY+m_cFrame.iY;
int dx = m_old_cText != m_cText ? m_cFrameTextRel.iWidth : m_nMaxTextWidth;
int dx = m_old_cText != m_cText || m_nNrOfPages>1 ? m_cFrameTextRel.iWidth : m_nMaxTextWidth;
int dy = m_cFrameTextRel.iHeight;
//find changes