Skip to content

Commit

Permalink
Copy the correct oscillator (#1068)
Browse files Browse the repository at this point in the history
Way back in 1.6.0 beta 5 we introduced this bug that always copied
oscillator 0.

Closes #1060
  • Loading branch information
baconpaul authored Aug 20, 2019
1 parent ff9bff7 commit 3c2aeca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/gui/SurgeGUIEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@ int32_t SurgeGUIEditor::controlModifierClicked(CControl* control, CButtonState b
contextMenu->addEntry(txt, eid++);
contextMenu->addEntry("-", eid++);
addCallbackMenu(contextMenu, "Copy",
[this]() { synth->storage.clipboard_copy(cp_osc, current_scene, 0); });
[this, a]() { synth->storage.clipboard_copy(cp_osc, current_scene, a); });
eid++;

addCallbackMenu(contextMenu, "Copy (with modulation)", [this, a]() {
Expand Down

0 comments on commit 3c2aeca

Please sign in to comment.