summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2013-02-23 20:13:35 +0000
committerTim E. Real <termtech@rogers.com>2013-02-23 20:13:35 +0000
commitab9687c921fe352773314be8b85e6a2e06bbaaf7 (patch)
tree4d03749c69aeae0336e8f6daffb2ec9023a51a1e
parent4103b29735b345dc1fe8d2676cd62412e3c815b7 (diff)
Added missing line draw shortcut (F) to drum editor.
-rw-r--r--muse2/ChangeLog2
-rw-r--r--muse2/muse/midiedit/drumedit.cpp4
2 files changed, 6 insertions, 0 deletions
diff --git a/muse2/ChangeLog b/muse2/ChangeLog
index dc5e060e..4b7acfba 100644
--- a/muse2/ChangeLog
+++ b/muse2/ChangeLog
@@ -1,3 +1,5 @@
+23.02.2013:
+ - Added missing line draw shortcut (F) to drum editor. (Tim)
22.02.2013:
* New: Install pre-built PDF + single/split HMTL docs. Separate devel docs. Added build script. (Tim)
Build script is /doc/build_docs.sh You'll want to use it or a variant to get the HTML .aux files.
diff --git a/muse2/muse/midiedit/drumedit.cpp b/muse2/muse/midiedit/drumedit.cpp
index 7766bb08..aa55e7d8 100644
--- a/muse2/muse/midiedit/drumedit.cpp
+++ b/muse2/muse/midiedit/drumedit.cpp
@@ -1560,6 +1560,10 @@ void DrumEdit::keyPressEvent(QKeyEvent* event)
tools2->set(MusEGui::RubberTool);
return;
}
+ else if (key == shortcuts[SHRT_TOOL_LINEDRAW].key) {
+ tools2->set(MusEGui::DrawTool);
+ return;
+ }
else if (key == shortcuts[SHRT_TOOL_CURSOR].key) {
tools2->set(MusEGui::CursorTool);
return;