mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Fixed a possible crash when saving options
This commit is contained in:
parent
a4deec6cde
commit
5e57929f07
3 changed files with 7 additions and 7 deletions
|
@ -521,8 +521,8 @@ void options_imp::on_okButton_clicked(){
|
|||
saveOptions();
|
||||
applyButton->setEnabled(false);
|
||||
// set infobar text
|
||||
emit status_changed(tr("Options were saved successfully."), true);
|
||||
this->hide();
|
||||
emit status_changed(tr("Options were saved successfully."), true);
|
||||
}else{
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
accept();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue