diff --git a/core/document.cpp b/core/document.cpp index 836f2fd94..7247342a7 100644 --- a/core/document.cpp +++ b/core/document.cpp @@ -3998,10 +3998,8 @@ void Document::processAction( const Action * action ) d->m_scripter = new Scripter( d ); d->m_scripter->execute( linkrendition->scriptType(), linkrendition->script() ); } - else - { - emit processRenditionAction( static_cast< const RenditionAction * >( action ) ); - } + + emit processRenditionAction( static_cast< const RenditionAction * >( action ) ); } break; } }