diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2012-07-06 16:30:32 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-07-06 16:33:57 +0200 |
commit | 98ca007c6f235e6f06f1f7ed112268ff48539227 (patch) | |
tree | 699a8bb1e05278fb66348db7e148798aa340ea44 /knotes | |
parent | 8959375f438fcae02e6a6f3fbb148ed6d8d720bc (diff) | |
download | tdepim-98ca007c6f235e6f06f1f7ed112268ff48539227.tar.gz tdepim-98ca007c6f235e6f06f1f7ed112268ff48539227.zip |
Fix knotes repeated reduction in RichText mode
(cherry picked from commit 27f6b882c6ab3d87b3495e5b8d149670295fb5c9)
Diffstat (limited to 'knotes')
-rw-r--r-- | knotes/knote.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp index 006c26e5..d06df13b 100644 --- a/knotes/knote.cpp +++ b/knotes/knote.cpp @@ -1214,7 +1214,7 @@ void KNote::updateLayout() if( m_tool ) { m_tool->setGeometry( contentsRect().x(), - contentsRect().bottom() - m_tool->height() + 1, + contentsRect().bottom() - (m_tool->isHidden() ? 0 : m_tool->height()) + 1, contentsRect().width(), m_tool->height() ); |