diff --git a/plugins/sf2_player/sf2_player.cpp b/plugins/sf2_player/sf2_player.cpp index e099506df..93ddb324e 100644 --- a/plugins/sf2_player/sf2_player.cpp +++ b/plugins/sf2_player/sf2_player.cpp @@ -128,7 +128,7 @@ sf2Instrument::sf2Instrument( InstrumentTrack * _instrument_track ) : InstrumentPlayHandle * iph = new InstrumentPlayHandle( this ); engine::getMixer()->addPlayHandle( iph ); - //loadFile( configManager::inst()->defaultSoundfont() ); + loadFile( configManager::inst()->defaultSoundfont() ); updateSampleRate(); updateReverbOn(); @@ -255,7 +255,7 @@ void sf2Instrument::loadSettings( const QDomElement & _this ) void sf2Instrument::loadFile( const QString & _file ) { - if( !_file.isEmpty() ) + if( !_file.isEmpty() && QFileInfo( _file ).exists() ) { openFile( _file ); updatePatch();