Skip to content

Commit

Permalink
Fix instrument editor cursor for pasting also
Browse files Browse the repository at this point in the history
  • Loading branch information
Deltafire committed Jul 27, 2017
1 parent 91cf8f8 commit c283c44
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/tracker/EnvelopeEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ void EnvelopeEditor::pasteOther(const TEnvelope& env)
prepareUndo();

*envelope = env;
resetSelection();

finishUndo();
}
Expand Down
1 change: 0 additions & 1 deletion src/tracker/SectionInstruments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ pp_int32 SectionInstruments::handleEvent(PPObject* sender, PPEvent* event)
{
const TEnvelope* env = predefinedEnvelopes->restore(i);
getEnvelopeEditor()->pasteOther(*env);
getEnvelopeEditor()->resetSelection();
}

update();
Expand Down

0 comments on commit c283c44

Please sign in to comment.