mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Fix "IP Filtering - Apply to trackers" wasn't being applied. Closes #5217.
This commit is contained in:
parent
f45ec40392
commit
a81cf1ea16
2 changed files with 5 additions and 4 deletions
|
@ -545,13 +545,12 @@ void options_imp::saveOptions()
|
|||
pref->setGlobalMaxRatio(getMaxRatio());
|
||||
session->setMaxRatioAction(static_cast<MaxRatioAction>(comboRatioLimitAct->currentIndex()));
|
||||
// End Bittorrent preferences
|
||||
|
||||
// Misc preferences
|
||||
// * IPFilter
|
||||
pref->setFilteringEnabled(isFilteringEnabled());
|
||||
if (isFilteringEnabled()) {
|
||||
pref->setFilteringTrackerEnabled(checkIpFilterTrackers->isChecked());
|
||||
pref->setFilter(textFilterPath->text());
|
||||
}
|
||||
pref->setFilteringTrackerEnabled(checkIpFilterTrackers->isChecked());
|
||||
pref->setFilter(textFilterPath->text());
|
||||
// End IPFilter preferences
|
||||
// Queueing system
|
||||
pref->setQueueingSystemEnabled(isQueueingSystemEnabled());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue