mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
DisplaySettings: Reload current settings when apply dialog is dismissed
Fixes: #8673
This commit is contained in:
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
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user