summaryrefslogtreecommitdiff
path: root/muse2/muse/arranger/pcanvas.cpp
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2011-02-18 15:42:54 +0000
committerRobert Jonsson <spamatica@gmail.com>2011-02-18 15:42:54 +0000
commit8e4d18fdcc12c7202e287cc8a2ec2214667c8844 (patch)
tree021c61e2de7e9001b6b0f4958ffadae8cf9287e3 /muse2/muse/arranger/pcanvas.cpp
parentcd2b45a71582e6480eeef33540b27586d3b3ca73 (diff)
shortcut fix
Diffstat (limited to 'muse2/muse/arranger/pcanvas.cpp')
-rw-r--r--muse2/muse/arranger/pcanvas.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp
index 479fa78e..189c7b76 100644
--- a/muse2/muse/arranger/pcanvas.cpp
+++ b/muse2/muse/arranger/pcanvas.cpp
@@ -1180,7 +1180,10 @@ void PartCanvas::keyPress(QKeyEvent* event)
emit setUsedTool(CutTool);
return;
}
- else if (key == shortcuts[SHRT_TOOL_GLUE].key) {
+ else if (key == shortcuts[SHRT_TOOL_LINEDRAW].key) {
+ emit setUsedTool(AutomationTool);
+ return;
+ } else if (key == shortcuts[SHRT_TOOL_GLUE].key) {
emit setUsedTool(GlueTool);
return;
}