aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 2955e20..0862e81 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -741,6 +741,10 @@ static gboolean key_press_sig(GtkWidget *da, GdkEventKey *event,
p->editing_object = NULL;
break;
+ case GDK_KEY_Return :
+ p->cur_tool->im_commit(p->editing_object, "\n", p->cur_tool);
+ break;
+
case GDK_KEY_B :
case GDK_KEY_b :
if ( p->slideshow != NULL ) {