diff options
author | terminator356 <termtech@rogers.com> | 2014-01-07 02:00:22 -0500 |
---|---|---|
committer | terminator356 <termtech@rogers.com> | 2014-01-07 02:00:22 -0500 |
commit | 7a6952bbdbcf8bd6573543d1c28e6fa75d50d4e4 (patch) | |
tree | cc4f8980591848591ba05389cf1791d8c611d4d1 /muse2/muse/conf.cpp | |
parent | 42ecd9fd47fe44c999bfd7f4f051179806735b0a (diff) |
Instrument can now be changed from trackinfo panel. Tweaks, cleanups.
Midi instrument can now be changed from midi track info panel.
Some minor code tweaks, code cleanup in mtrackinfo.cpp, confmport.cpp.
Diffstat (limited to 'muse2/muse/conf.cpp')
-rw-r--r-- | muse2/muse/conf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/conf.cpp b/muse2/muse/conf.cpp index 56d648ad..2d2a35e2 100644 --- a/muse2/muse/conf.cpp +++ b/muse2/muse/conf.cpp @@ -1625,7 +1625,7 @@ void MidiFileConfig::updateValues() { importDefaultInstr->clear(); for(MusECore::iMidiInstrument i = MusECore::midiInstruments.begin(); i != MusECore::midiInstruments.end(); ++i) - if(!dynamic_cast<MusECore::SynthI*>(*i)) // Sorry, no synths for now. + if(!(*i)->isSynti()) // Sorry, no synths for now. importDefaultInstr->addItem((*i)->iname()); int idx = importDefaultInstr->findText(MusEGlobal::config.importMidiDefaultInstr); if(idx != -1) |