1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00

(trunk gtk) fix bug that didn't save the settings when the user changed the "blocklist enabled" setting. reported by Rol Col

This commit is contained in:
Charles Kerr 2008-12-14 22:41:44 +00:00
parent 3634a262b4
commit 262bfbd2d6

View file

@ -1039,6 +1039,11 @@ prefschanged( TrCore * core UNUSED,
const int port = pref_int_get( key );
tr_sessionSetPeerPort( tr, port );
}
else if( !strcmp( key, TR_PREFS_KEY_BLOCKLIST_ENABLED ) )
{
const gboolean flag = pref_flag_get( key );
tr_blocklistSetEnabled( tr, flag );
}
else if( !strcmp( key, PREF_KEY_SHOW_TRAY_ICON ) )
{
const int show = pref_flag_get( key );