diff --git a/ui/pagesizelabel.cpp b/ui/pagesizelabel.cpp index 6f427568e..4a8077924 100644 --- a/ui/pagesizelabel.cpp +++ b/ui/pagesizelabel.cpp @@ -43,9 +43,16 @@ void PageSizeLabel::notifySetup( const QVector< Okular::Page * > & pageVector, i if ( pages < 1 || m_document->allPagesSize().isValid() ) { hide(); + if ( m_antiWidget ) + m_antiWidget->hide(); return; } - else show(); + else + { + show(); + if ( m_antiWidget ) + m_antiWidget->show(); + } } void PageSizeLabel::notifyViewportChanged( bool /*smoothMove*/ )