Skip to content

Commit

Permalink
Merge pull request #1157 from MarcSabatella/29901-left-cursor
Browse files Browse the repository at this point in the history
fix #29901: cursor left in note input mode
  • Loading branch information
lasconic committed Aug 18, 2014
2 parents 24700da + 67bfc6d commit 7953d7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libmscore/cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1686,12 +1686,12 @@ bool Score::processMidiInput()
Element* Score::move(const QString& cmd)
{
ChordRest* cr;
if (selection().activeCR())
if (noteEntryMode())
cr = inputState().cr();
else if (selection().activeCR())
cr = selection().activeCR();
else
cr = selection().lastChordRest();
if (cr == 0 && noteEntryMode())
cr = inputState().cr();

// no chord/rest found? look for another type of element
if (cr == 0) {
Expand Down

0 comments on commit 7953d7e

Please sign in to comment.