summaryrefslogtreecommitdiffstats
path: root/knotes
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-07-06 16:30:32 +0200
committerSlávek Banko <slavek.banko@axis.cz>2012-07-06 16:30:32 +0200
commit27f6b882c6ab3d87b3495e5b8d149670295fb5c9 (patch)
tree3281852889a892edca16406f8fcf66e7053b22f0 /knotes
parente86bf8844081573c2d1447a8d5f683ae1596af42 (diff)
downloadtdepim-27f6b882c6ab3d87b3495e5b8d149670295fb5c9.tar.gz
tdepim-27f6b882c6ab3d87b3495e5b8d149670295fb5c9.zip
Fix knotes repeated reduction in RichText mode
Diffstat (limited to 'knotes')
-rw-r--r--knotes/knote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp
index e68c8ca29..4b0a9172c 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()
);