--- qsampler/trunk/src/qsamplerChannelForm.cpp 2007/11/21 11:46:40 1504 +++ qsampler/trunk/src/qsamplerChannelForm.cpp 2007/11/21 18:37:40 1505 @@ -206,9 +206,7 @@ QString sInstrumentFile = pChannel->instrumentFile(); if (sInstrumentFile.isEmpty()) sInstrumentFile = qsamplerChannel::noInstrumentName(); - ui.InstrumentFileComboBox->setItemText( - ui.InstrumentFileComboBox->currentIndex(), - sInstrumentFile); + ui.InstrumentFileComboBox->setEditText(sInstrumentFile); ui.InstrumentNrComboBox->clear(); ui.InstrumentNrComboBox->insertItems(0, qsamplerChannel::getInstrumentList(sInstrumentFile, @@ -447,10 +445,7 @@ if (sInstrumentFile.isEmpty()) return; - ui.InstrumentFileComboBox->setItemText( - ui.InstrumentFileComboBox->currentIndex(), - sInstrumentFile); - + ui.InstrumentFileComboBox->setEditText(sInstrumentFile); updateInstrumentName(); }