diff --git a/ui/pageview.cpp b/ui/pageview.cpp index 9fe128eea..2dd8cf1c6 100644 --- a/ui/pageview.cpp +++ b/ui/pageview.cpp @@ -2430,8 +2430,12 @@ void PageView::mouseReleaseEvent( QMouseEvent * e ) KMenu menu( this ); QAction * actProcessLink = menu.addAction( i18n( "Follow This Link" ) ); QAction * actStopSound = 0; - if ( link->actionType() == Okular::Action::Sound ) - actStopSound = menu.addAction( i18n( "Stop Sound" ) ); + if ( link->actionType() == Okular::Action::Sound ) { + actProcessLink->setText( i18n( "Play this Sound" ) ); + if ( Okular::AudioPlayer::instance()->state() == Okular::AudioPlayer::PlayingState ) { + actStopSound = menu.addAction( i18n( "Stop Sound" ) ); + } + } QAction * actCopyLinkLocation = 0; if ( dynamic_cast< const Okular::BrowseAction * >( link ) ) actCopyLinkLocation = menu.addAction( KIcon( "edit-copy" ), i18n( "Copy Link Address" ) );