* do not show messages about missing plugins when previewing presets (closes #2110203)
* clear effect view before loading settings in effectChain git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1612 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -71,9 +71,13 @@ ladspaEffect::ladspaEffect( model * _parent,
|
||||
ladspa2LMMS * manager = engine::getLADSPAManager();
|
||||
if( manager->getDescription( m_key ) == NULL )
|
||||
{
|
||||
QMessageBox::warning( 0, "Effect",
|
||||
"Unknown LADSPA plugin requested: " + m_key.second,
|
||||
QMessageBox::Ok, QMessageBox::NoButton );
|
||||
if( !engine::suppressMessages() )
|
||||
{
|
||||
QMessageBox::warning( 0, tr( "Effect" ),
|
||||
tr( "Unknown LADSPA plugin %1 requested." ).
|
||||
arg( m_key.second ),
|
||||
QMessageBox::Ok, QMessageBox::NoButton );
|
||||
}
|
||||
setOkay( FALSE );
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user