summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchCanvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/PatchCanvas.cpp')
-rw-r--r--src/gui/PatchCanvas.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index 758172ab..4981bf6e 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -575,6 +575,9 @@ PatchCanvas::canvas_event(GdkEvent* event)
ret = true;
}
break;
+ case GDK_Home:
+ scroll_to(0, 0);
+ break;
case GDK_space:
case GDK_Menu:
show_menu(true, 3, event->key.time);