mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-12 10:53:09 +00:00
show/hide the antiwidget when we show/hide ourselves
svn path=/trunk/KDE/kdegraphics/okular/; revision=742819
This commit is contained in:
parent
2f39925acb
commit
c88cf049cc
|
@ -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*/ )
|
||||
|
|
Loading…
Reference in a new issue