Skip to content

Commit

Permalink
Merge pull request #4665 from anatoly-os/283946_chord_playback
Browse files Browse the repository at this point in the history
fix #283946: play whole chord when iterating over notes
  • Loading branch information
anatoly-os committed Mar 8, 2019
1 parent 00f9997 commit cea5306
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mscore/prefsdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@
<item row="1" column="0">
<widget class="QCheckBox" name="playChordOnAddNote">
<property name="text">
<string>Play whole chord when adding note</string>
<string>Play whole chord when editing</string>
</property>
</widget>
</item>
Expand Down
2 changes: 2 additions & 0 deletions mscore/scoreview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1919,6 +1919,7 @@ void ScoreView::cmd(const char* s)
Element* el = _score->selectMove(cmd);
if (el)
adjustCanvasPosition(el, false);
score()->setPlayChord(true);
updateAll();
}
else if (cmd == "next-chord"
Expand All @@ -1945,6 +1946,7 @@ void ScoreView::cmd(const char* s)
Element* ele = _score->move(cmd);
if (ele)
adjustCanvasPosition(ele, false);
score()->setPlayChord(true);
updateAll();
}
}
Expand Down

0 comments on commit cea5306

Please sign in to comment.