diff --git a/core/document.cpp b/core/document.cpp index 85fe00786..cd9ea6d4e 100644 --- a/core/document.cpp +++ b/core/document.cpp @@ -3999,10 +3999,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; } }