mirror of
https://github.com/transmission/transmission
synced 2025-03-10 14:13:23 +00:00
fix r4911 crash reoprted by wereHamster
This commit is contained in:
parent
d5ecdefc2c
commit
b0103174f6
1 changed files with 1 additions and 1 deletions
|
@ -940,7 +940,7 @@ doAction ( const char * action_name, gpointer user_data )
|
||||||
struct cbdata * data = user_data;
|
struct cbdata * data = user_data;
|
||||||
gboolean changed = FALSE;
|
gboolean changed = FALSE;
|
||||||
|
|
||||||
if (!strcmp (action_name, "open-torrent"))
|
if ( !strcmp (action_name, "open-torrent-menu") || !strcmp( action_name, "open-torrent-toolbar" ))
|
||||||
{
|
{
|
||||||
makeaddwind( data->wind, data->core );
|
makeaddwind( data->wind, data->core );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue