diff options
Diffstat (limited to 'libnautilus-private/nautilus-icon-text-item.c')
-rw-r--r-- | libnautilus-private/nautilus-icon-text-item.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-icon-text-item.c b/libnautilus-private/nautilus-icon-text-item.c index 90adb1aab..d661cbf29 100644 --- a/libnautilus-private/nautilus-icon-text-item.c +++ b/libnautilus-private/nautilus-icon-text-item.c @@ -1036,8 +1036,9 @@ iti_event (GnomeCanvasItem *item, GdkEvent *event) return TRUE; case GDK_FOCUS_CHANGE: - if (iti->editing && event->focus_change.in == FALSE) + if (iti->editing && !event->focus_change.in) { iti_edition_accept (iti); + } return TRUE; |