diff --git a/gtk/open-dialog.c b/gtk/open-dialog.c index d10497003..ea94bb6e9 100644 --- a/gtk/open-dialog.c +++ b/gtk/open-dialog.c @@ -471,6 +471,11 @@ onOpenURLResponse( GtkDialog * dialog, int response, gpointer user_data ) g_free( url ); } } + else if( response == GTK_RESPONSE_CANCEL ) + { + handled = TRUE; + } + if( handled ) gtk_widget_destroy( GTK_WIDGET( dialog ) );