mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:37:44 +00:00
DisplaySettings: Reload current settings when apply dialog is dismissed
Fixes: #8673
This commit is contained in:
parent
15d5c62915
commit
8922049507
1 changed files with 2 additions and 0 deletions
|
@ -132,6 +132,8 @@ void MonitorSettingsWidget::apply_settings()
|
||||||
if (!restore_result.success()) {
|
if (!restore_result.success()) {
|
||||||
GUI::MessageBox::show(window(), String::formatted("Error restoring settings: {}", restore_result.error_msg()),
|
GUI::MessageBox::show(window(), String::formatted("Error restoring settings: {}", restore_result.error_msg()),
|
||||||
"Unable to restore setting", GUI::MessageBox::Type::Error);
|
"Unable to restore setting", GUI::MessageBox::Type::Error);
|
||||||
|
} else {
|
||||||
|
load_current_settings();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue