mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
make zoom combobox work; editing the text directly is not supported yet
svn path=/trunk/playground/graphics/okular/; revision=564799
This commit is contained in:
parent
92e4c31899
commit
8fa041d06f
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ void PageView::setupActions( KActionCollection * ac )
|
|||
d->aZoom = new KSelectAction( KIcon( "viewmag" ), i18n( "Zoom" ), ac, "zoom_to" );
|
||||
d->aZoom->setEditable( true );
|
||||
d->aZoom->setMaxComboViewCount( 13 );
|
||||
connect( d->aZoom, SIGNAL( triggered() ), this, SLOT( slotZoom() ) );
|
||||
connect( d->aZoom, SIGNAL( triggered(QAction *) ), this, SLOT( slotZoom() ) );
|
||||
updateZoomText();
|
||||
|
||||
KStdAction::zoomIn( this, SLOT( slotZoomIn() ), ac, "zoom_in" );
|
||||
|
|
Loading…
Reference in a new issue