reset settings should reset layout as well (#1334)

This commit is contained in:
Vanellope 2019-03-20 04:15:38 +09:00 committed by Florian Märkl
parent 6f1309452a
commit 72e8cd664e

View File

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