forgot to store chart update preference

This commit is contained in:
Axel Kohlmeyer
2024-08-23 02:24:18 -04:00
parent 4f3004fc40
commit 1b339b84e1

View File

@ -171,6 +171,8 @@ void Preferences::accept()
auto *spin = tabWidget->findChild<QSpinBox *>("updfreq"); auto *spin = tabWidget->findChild<QSpinBox *>("updfreq");
if (spin) settings->setValue("updfreq", spin->value()); if (spin) settings->setValue("updfreq", spin->value());
spin = tabWidget->findChild<QSpinBox *>("updchart");
if (spin) settings->setValue("updchart", spin->value());
if (need_relaunch) { if (need_relaunch) {
QMessageBox msg(QMessageBox::Information, QString("Relaunching LAMMPS-GUI"), QMessageBox msg(QMessageBox::Information, QString("Relaunching LAMMPS-GUI"),