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
Notes: sideshowbarker 2024-07-18 09:09:26 +09:00

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 {