mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +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:
parent
3634a262b4
commit
262bfbd2d6
1 changed files with 5 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue