/[svn]/qsampler/trunk/src/qsamplerInstrumentListForm.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerInstrumentListForm.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2068 by capela, Sun Mar 14 16:35:48 2010 UTC revision 2070 by capela, Mon Mar 15 17:06:46 2010 UTC
# Line 249  void InstrumentListForm::editInstrument Line 249  void InstrumentListForm::editInstrument
249                  instrument.bank() == iBank &&                  instrument.bank() == iBank &&
250                  instrument.prog() == iProg) {                  instrument.prog() == iProg) {
251                  // Just update tree item...                  // Just update tree item...
252                  //pItem->update();                  m_pInstrumentListView->updateInstrument(pInstrument);
253          } else {          } else {
254                  // Unmap old instance...                  // Unmap old instance...
255                  Instrument(iMap, iBank, iProg).unmapInstrument();                  Instrument(iMap, iBank, iProg).unmapInstrument();
256                  // Correct the position of the instrument in the model                  // Correct the position of the instrument in the model
257                  m_pInstrumentListView->updateInstrument(pInstrument);                  m_pInstrumentListView->resortInstrument(pInstrument);
258          }          }
259    
260          stabilizeForm();          stabilizeForm();

Legend:
Removed from v.2068  
changed lines
  Added in v.2070

  ViewVC Help
Powered by ViewVC