--- qsampler/trunk/src/qsamplerChannel.cpp 2005/08/28 12:15:16 760 +++ qsampler/trunk/src/qsamplerChannel.cpp 2005/12/23 01:40:56 824 @@ -32,7 +32,7 @@ #include "gig.h" #endif -#define QSAMPLER_INSTRUMENT_MAX 8 +#define QSAMPLER_INSTRUMENT_MAX 100 //------------------------------------------------------------------------- @@ -868,6 +868,14 @@ } +// Commit any pending editing. +void qsamplerChannelRoutingTable::flush (void) +{ + if (QTable::isEditing()) + QTable::endEdit(QTable::currEditRow(), QTable::currEditCol(), true, true); +} + + //------------------------------------------------------------------------- // qsamplerChannelRoutingComboBox - Custom combo box for routing table. //