Rewrite the setup dialog (#3820)
This commit is contained in:
@@ -103,7 +103,7 @@ bool MidiImport::tryImport( TrackContainer* tc )
|
||||
|
||||
#ifdef LMMS_HAVE_FLUIDSYNTH
|
||||
if( gui != NULL &&
|
||||
ConfigManager::inst()->defaultSoundfont().isEmpty() )
|
||||
ConfigManager::inst()->sf2File().isEmpty() )
|
||||
{
|
||||
QMessageBox::information( gui->mainWindow(),
|
||||
tr( "Setup incomplete" ),
|
||||
@@ -242,7 +242,7 @@ public:
|
||||
if( it_inst )
|
||||
{
|
||||
isSF2 = true;
|
||||
it_inst->loadFile( ConfigManager::inst()->defaultSoundfont() );
|
||||
it_inst->loadFile( ConfigManager::inst()->sf2File() );
|
||||
it_inst->childModel( "bank" )->setValue( 0 );
|
||||
it_inst->childModel( "patch" )->setValue( 0 );
|
||||
}
|
||||
|
||||
@@ -151,7 +151,7 @@ sf2Instrument::sf2Instrument( InstrumentTrack * _instrument_track ) :
|
||||
m_chorusDepth.setInitValue(settingVal);
|
||||
#endif
|
||||
|
||||
loadFile( ConfigManager::inst()->defaultSoundfont() );
|
||||
loadFile( ConfigManager::inst()->sf2File() );
|
||||
|
||||
updateSampleRate();
|
||||
updateReverbOn();
|
||||
|
||||
Reference in New Issue
Block a user