mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 16:53:08 -07:00
Don't apply some settings again if they weren't changed. Closes #4278.
This commit is contained in:
parent
2d25edd4d6
commit
82e02f7118
4 changed files with 14 additions and 16 deletions
|
@ -1000,10 +1000,9 @@ void options_imp::on_buttonBox_accepted()
|
|||
tabSelection->setCurrentRow(TAB_SPEED);
|
||||
return;
|
||||
}
|
||||
saveOptions();
|
||||
applyButton->setEnabled(false);
|
||||
this->hide();
|
||||
emit status_changed();
|
||||
saveOptions();
|
||||
}
|
||||
saveWindowState();
|
||||
accept();
|
||||
|
@ -1017,7 +1016,6 @@ void options_imp::applySettings(QAbstractButton* button)
|
|||
return;
|
||||
}
|
||||
saveOptions();
|
||||
emit status_changed();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue