Fixed a bug related to reset_settings (#1349)

This commit is contained in:
Vanellope 2019-03-22 05:14:52 +09:00 committed by xarkes
parent 1cfc5e8355
commit 7fd815bd40

View File

@ -1026,8 +1026,8 @@ void MainWindow::on_actionReset_settings_triggered()
tr("Do you really want to clear all settings?"), tr("Do you really want to clear all settings?"),
QMessageBox::Ok | QMessageBox::Cancel); QMessageBox::Ok | QMessageBox::Cancel);
if (ret == QMessageBox::Ok) { if (ret == QMessageBox::Ok) {
on_actionDefault_triggered();
Config()->resetAll(); Config()->resetAll();
on_actionDefault_triggered();
} }
} }