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() );