summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab-label.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tab-label.c b/src/tab-label.c
index 0448c52..5a8936d 100644
--- a/src/tab-label.c
+++ b/src/tab-label.c
@@ -144,6 +144,8 @@ name_entry_key_press_event_cb(GtkEntry G_GNUC_UNUSED *entry, GdkEventKey *event,
{
switch (event->keyval) {
case GDK_KEY_Escape:
+ /* This is actually dead code, as GTK+ handles the
+ * Escape key (in the same way) already. */
gtk_widget_hide(tab_label->name_popover);
return TRUE;
case GDK_KEY_Return: