Rename resetRun functions

This commit is contained in:
elecpower
2022-09-06 09:29:41 +10:00
committed by Peter Feerick
parent 3621b26403
commit 3d340fa39e
4 changed files with 14 additions and 11 deletions
@@ -188,7 +188,7 @@ UpdateOptionsDialog::UpdateOptionsDialog(QWidget * parent, UpdateFactories * fac
connect(ui->buttonBox, &QDialogButtonBox::clicked, [=](QAbstractButton * button) {
if (ui->buttonBox->standardButton(button) == QDialogButtonBox::RestoreDefaults) {
factories->resetRunParams(name);
factories->resetRunEnvironment(name);
update();
}
else if (ui->buttonBox->standardButton(button) == QDialogButtonBox::Discard) {