do not change selected sample (feels more efficient)
This commit is contained in:
parent
697ad58bdd
commit
4158b4fd55
1 changed files with 2 additions and 0 deletions
|
|
@ -1798,6 +1798,7 @@ void FurnaceGUI::doAction(int what) {
|
|||
}
|
||||
case GUI_ACTION_SAMPLE_COPY_NEW: {
|
||||
if (curSample<0 || curSample>=(int)e->song.sample.size()) break;
|
||||
int prevSampleNum=curSample;
|
||||
DivSample* sample=e->song.sample[curSample];
|
||||
SAMPLE_OP_BEGIN;
|
||||
if (end-start<1) {
|
||||
|
|
@ -1837,6 +1838,7 @@ void FurnaceGUI::doAction(int what) {
|
|||
}
|
||||
e->renderSamples();
|
||||
});
|
||||
curSample=prevSampleNum;
|
||||
|
||||
// TODO: confirm these
|
||||
wantScrollListSample=true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue