mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 17:49:52 +01:00
(trunk gtk) fix ticket #4827 'clicking cancel in Open URL dialog does nothing'
This commit is contained in:
@@ -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 ) );
|
||||
|
||||
Reference in New Issue
Block a user