Allow the 0 key to toggle the Rest toolbar button in Rhythm entry mode
This commit is contained in:
parent
c7fa7c6fc6
commit
8f5e5ca462
1 changed files with 5 additions and 5 deletions
|
@ -3049,11 +3049,11 @@ void ScoreView::cmdEnterRest()
|
|||
|
||||
void ScoreView::cmdEnterRest(const TDuration& d)
|
||||
{
|
||||
//TODO if (!noteEntryMode())
|
||||
// sm->postEvent(new CommandEvent("note-input"));
|
||||
// if (_score->usingNoteEntryMethod(NoteEntryMethod::RHYTHM))
|
||||
// _score->cmd(getAction("pad-rest"));
|
||||
// else
|
||||
if (!noteEntryMode())
|
||||
cmd("note-input");
|
||||
if (_score->usingNoteEntryMethod(NoteEntryMethod::RHYTHM))
|
||||
_score->cmd(getAction("pad-rest"), editData);
|
||||
else
|
||||
_score->cmdEnterRest(d);
|
||||
#if 0
|
||||
expandVoice();
|
||||
|
|
Loading…
Reference in a new issue