Compare commits

...

1 Commits

Author SHA1 Message Date
FearlessTobi
2754c9ac80 configure/system: Only allow changing system settings if game is not running 2019-11-23 00:03:58 +01:00

View File

@@ -71,6 +71,9 @@ void ConfigureSystem::SetConfiguration() {
const auto rtc_time = Settings::values.custom_rtc.value_or(
std::chrono::seconds(QDateTime::currentSecsSinceEpoch()));
ui->custom_rtc_edit->setDateTime(QDateTime::fromSecsSinceEpoch(rtc_time.count()));
if (!enabled)
ui->group_system_settings->setEnabled(false);
}
void ConfigureSystem::ReadSystemSettings() {}