renamed things and forgot to re-test so here's this...
This commit is contained in:
parent
0b673f8419
commit
697ad58bdd
2 changed files with 3 additions and 3 deletions
|
|
@ -1796,7 +1796,7 @@ void FurnaceGUI::doAction(int what) {
|
|||
}
|
||||
break;
|
||||
}
|
||||
case GUI_ACTION_SAMPLE_MOVE_NEW: {
|
||||
case GUI_ACTION_SAMPLE_COPY_NEW: {
|
||||
if (curSample<0 || curSample>=(int)e->song.sample.size()) break;
|
||||
DivSample* sample=e->song.sample[curSample];
|
||||
SAMPLE_OP_BEGIN;
|
||||
|
|
|
|||
|
|
@ -2013,8 +2013,8 @@ void FurnaceGUI::drawSampleEdit() {
|
|||
if (ImGui::MenuItem(_("create wavetable from selection"),BIND_FOR(GUI_ACTION_SAMPLE_CREATE_WAVE))) {
|
||||
doAction(GUI_ACTION_SAMPLE_CREATE_WAVE);
|
||||
}
|
||||
if (ImGui::MenuItem(_("copy selection to new sample"),BIND_FOR(GUI_ACTION_SAMPLE_MOVE_NEW))) {
|
||||
doAction(GUI_ACTION_SAMPLE_MOVE_NEW);
|
||||
if (ImGui::MenuItem(_("copy selection to new sample"),BIND_FOR(GUI_ACTION_SAMPLE_COPY_NEW))) {
|
||||
doAction(GUI_ACTION_SAMPLE_COPY_NEW);
|
||||
}
|
||||
ImGui::EndPopup();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue