make the GUI update interval a configurable option in the preferences

This commit is contained in:
Axel Kohlmeyer
2023-09-14 10:32:10 -04:00
parent 232e57a949
commit 6d12800a0d
4 changed files with 25 additions and 3 deletions

View File

@ -1092,7 +1092,7 @@ void LammpsGui::do_run(bool use_buffer)
logupdater = new QTimer(this);
connect(logupdater, &QTimer::timeout, this, &LammpsGui::logupdate);
logupdater->start(100);
logupdater->start(settings.value("updfreq", "100").toInt());
}
void LammpsGui::render_image()