diff options
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/DisplaySettings/DisplaySettings.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Applications/DisplaySettings/DisplaySettings.cpp b/Applications/DisplaySettings/DisplaySettings.cpp index 74967fca2b..137cb5aeb3 100644 --- a/Applications/DisplaySettings/DisplaySettings.cpp +++ b/Applications/DisplaySettings/DisplaySettings.cpp @@ -236,14 +236,6 @@ void DisplaySettingsWidget::create_frame() bottom_widget.set_size_policy(Orientation::Vertical, GUI::SizePolicy::Fixed); bottom_widget.set_preferred_size(1, 22); - auto& apply_button = bottom_widget.add<GUI::Button>(); - apply_button.set_text("Apply"); - apply_button.set_size_policy(Orientation::Horizontal, GUI::SizePolicy::Fixed); - apply_button.set_preferred_size(60, 22); - apply_button.on_click = [this] { - send_settings_to_window_server(); - }; - auto& ok_button = bottom_widget.add<GUI::Button>(); ok_button.set_text("OK"); ok_button.set_size_policy(Orientation::Horizontal, GUI::SizePolicy::Fixed); @@ -260,6 +252,14 @@ void DisplaySettingsWidget::create_frame() cancel_button.on_click = [] { GUI::Application::the().quit(); }; + + auto& apply_button = bottom_widget.add<GUI::Button>(); + apply_button.set_text("Apply"); + apply_button.set_size_policy(Orientation::Horizontal, GUI::SizePolicy::Fixed); + apply_button.set_preferred_size(60, 22); + apply_button.on_click = [this] { + send_settings_to_window_server(); + }; } void DisplaySettingsWidget::load_current_settings() |