mirror of
https://github.com/transmission/transmission
synced 2025-03-05 19:18:19 +00:00
fix crash in the gtk client if the user hit create' in the
create torrent' dialog without specifying a file.
This commit is contained in:
parent
de8b09005d
commit
76da8c6c00
1 changed files with 3 additions and 0 deletions
|
@ -129,6 +129,9 @@ response_cb( GtkDialog* d, int response, gpointer user_data )
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( ui->builder == NULL )
|
||||||
|
return;
|
||||||
|
|
||||||
w = gtk_dialog_new_with_buttons( _("Making Torrent..."),
|
w = gtk_dialog_new_with_buttons( _("Making Torrent..."),
|
||||||
GTK_WINDOW(d),
|
GTK_WINDOW(d),
|
||||||
GTK_DIALOG_DESTROY_WITH_PARENT,
|
GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||||
|
|
Loading…
Add table
Reference in a new issue