DisplaySettings: Reload current settings when apply dialog is dismissed
Fixes: #8673
This commit is contained in:
parent
15d5c62915
commit
8922049507
Notes:
sideshowbarker
2024-07-18 09:09:26 +09:00
Author: https://github.com/luk1337 Commit: https://github.com/SerenityOS/serenity/commit/8922049507e Pull-request: https://github.com/SerenityOS/serenity/pull/8677 Issue: https://github.com/SerenityOS/serenity/issues/8673
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue