1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:57:45 +00:00

DisplaySettings: Reload current settings when apply dialog is dismissed

Fixes: #8673
This commit is contained in:
LuK1337 2021-07-12 10:50:44 +02:00 committed by Gunnar Beutner
parent 15d5c62915
commit 8922049507

View file

@ -132,6 +132,8 @@ void MonitorSettingsWidget::apply_settings()
if (!restore_result.success()) {
GUI::MessageBox::show(window(), String::formatted("Error restoring settings: {}", restore_result.error_msg()),
"Unable to restore setting", GUI::MessageBox::Type::Error);
} else {
load_current_settings();
}
}
} else {