From 697ad58bdd85c77633b9a4d3d0b772f4e246558c Mon Sep 17 00:00:00 2001 From: yohannd1 Date: Tue, 20 Jan 2026 02:23:04 -0300 Subject: [PATCH] renamed things and forgot to re-test so here's this... --- src/gui/doAction.cpp | 2 +- src/gui/sampleEdit.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/doAction.cpp b/src/gui/doAction.cpp index dcaeb7750..51f003b06 100644 --- a/src/gui/doAction.cpp +++ b/src/gui/doAction.cpp @@ -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; diff --git a/src/gui/sampleEdit.cpp b/src/gui/sampleEdit.cpp index 747a400ec..9554b703a 100644 --- a/src/gui/sampleEdit.cpp +++ b/src/gui/sampleEdit.cpp @@ -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(); }