From cf7539caafa6d33df9eee16604954c0fa97ea38e Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Tue, 7 Jul 2009 10:43:09 +0200 Subject: [PATCH] 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 --- src/gui/piano_roll.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/piano_roll.cpp b/src/gui/piano_roll.cpp index f6786fb03f..3151fb52f9 100644 --- a/src/gui/piano_roll.cpp +++ b/src/gui/piano_roll.cpp @@ -3411,6 +3411,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(); }