110 |
|
|
111 |
// Engine name... |
// Engine name... |
112 |
QString sEngineName = pChannel->engineName(); |
QString sEngineName = pChannel->engineName(); |
113 |
if (sEngineName.isEmpty() && bNew) |
if (sEngineName.isEmpty() || bNew) |
114 |
sEngineName = pOptions->sEngineName; |
sEngineName = pOptions->sEngineName; |
115 |
if (sEngineName.isEmpty()) |
if (sEngineName.isEmpty()) |
116 |
sEngineName = qsamplerChannel::noEngineName(); |
sEngineName = qsamplerChannel::noEngineName(); |
158 |
if (sEngineName != qsamplerChannel::noEngineName() && |
if (sEngineName != qsamplerChannel::noEngineName() && |
159 |
sInstrumentFile != qsamplerChannel::noInstrumentName()) |
sInstrumentFile != qsamplerChannel::noInstrumentName()) |
160 |
m_iDirtyCount++; |
m_iDirtyCount++; |
161 |
|
// FIXME: These are better leave diabled... |
162 |
|
MidiPortTextLabel->setEnabled(false); |
163 |
|
MidiPortSpinBox->setEnabled(false); |
164 |
// Done. |
// Done. |
165 |
m_iDirtySetup--; |
m_iDirtySetup--; |
166 |
stabilizeForm(); |
stabilizeForm(); |