mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
Disable action "View -> Auto Fit" when no document is opened
REVIEW: 115776
This commit is contained in:
parent
a385cb2831
commit
f68c26bbea
1 changed files with 2 additions and 0 deletions
|
@ -1007,6 +1007,8 @@ void PageView::updateActionState( bool haspages, bool documentChanged, bool hasf
|
|||
d->aZoomFitWidth->setEnabled( haspages );
|
||||
if ( d->aZoomFitPage )
|
||||
d->aZoomFitPage->setEnabled( haspages );
|
||||
if ( d->aZoomAutoFit )
|
||||
d->aZoomAutoFit->setEnabled( haspages );
|
||||
|
||||
if ( d->aZoom )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue