2 |
// |
// |
3 |
// ui.h extension file, included from the uic-generated form implementation. |
// ui.h extension file, included from the uic-generated form implementation. |
4 |
/**************************************************************************** |
/**************************************************************************** |
5 |
Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2005, rncbc aka Rui Nuno Capela. All rights reserved. |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU General Public License |
modify it under the terms of the GNU General Public License |
260 |
// Refresh the actual instrument name. |
// Refresh the actual instrument name. |
261 |
void qsamplerChannelForm::updateInstrumentName (void) |
void qsamplerChannelForm::updateInstrumentName (void) |
262 |
{ |
{ |
263 |
|
qsamplerOptions *pOptions = m_pChannel->options(); |
264 |
|
if (pOptions == NULL) |
265 |
|
return; |
266 |
|
|
267 |
// Finally this better idea would be to use libgig |
// Finally this better idea would be to use libgig |
268 |
// to retrieve the REAL instrument names. |
// to retrieve the REAL instrument names. |
269 |
InstrumentNrComboBox->clear(); |
InstrumentNrComboBox->clear(); |