From 27f6b882c6ab3d87b3495e5b8d149670295fb5c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 6 Jul 2012 16:30:32 +0200 Subject: [PATCH] Fix knotes repeated reduction in RichText mode --- knotes/knote.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knotes/knote.cpp b/knotes/knote.cpp index e68c8ca2..4b0a9172 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() );