Fix knotes repeated reduction in RichText mode

(cherry picked from commit 27f6b882c6)
v3.5.13-sru
Slávek Banko 13 years ago
parent 8959375f43
commit 98ca007c6f

@ -1214,7 +1214,7 @@ void KNote::updateLayout()
if( m_tool ) { if( m_tool ) {
m_tool->setGeometry( m_tool->setGeometry(
contentsRect().x(), contentsRect().x(),
contentsRect().bottom() - m_tool->height() + 1, contentsRect().bottom() - (m_tool->isHidden() ? 0 : m_tool->height()) + 1,
contentsRect().width(), contentsRect().width(),
m_tool->height() m_tool->height()
); );

Loading…
Cancel
Save