PianoRoll: switch back to draw note after pasting notes
When pasing notes via Ctrl+V somehow the edit-tool was left in an
undefined state. Therefore explicitely switch back to draw mode so
user can move pasted notes (closes #2808607).
Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit cf7539caaf)
This commit is contained in:
@@ -3401,6 +3401,8 @@ void pianoRoll::pasteNotes( void )
|
||||
// we only have to do the following lines if we pasted at
|
||||
// least one note...
|
||||
engine::getSong()->setModified();
|
||||
m_ctrlMode = ModeDraw;
|
||||
m_drawButton->setChecked( true );
|
||||
update();
|
||||
engine::getSongEditor()->update();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user