mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
- Fixed a possible crash when saving options
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user