763 |
// Stabilize current form state. |
// Stabilize current form state. |
764 |
void ChannelForm::stabilizeForm (void) |
void ChannelForm::stabilizeForm (void) |
765 |
{ |
{ |
766 |
bool bValid = true; |
const bool bValid = |
767 |
|
ui.EngineNameComboBox->currentIndex() >= 0 && |
768 |
|
ui.EngineNameComboBox->currentText() != |
769 |
|
qsamplerChannel::noEngineName(); |
770 |
#if 0 |
#if 0 |
771 |
const QString& sPath = InstrumentFileComboBox->currentText(); |
const QString& sPath = InstrumentFileComboBox->currentText(); |
772 |
bValid = bValid && !sPath.isEmpty() && QFileInfo(sPath).exists(); |
bValid = bValid && !sPath.isEmpty() && QFileInfo(sPath).exists(); |