From 75bf1b8cd1a317fdbe26e978d1c351b5b05b8285 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Thu, 7 Mar 2019 18:56:13 +0100 Subject: [PATCH] display: Update apply button when switching output in "single" mode While the configuration was updated, the apply button was not synced. This meant users could not switch the active monitor properly. Fixes #405 --- panels/display/cc-display-panel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c index 4b7cd2359..f4af1b051 100644 --- a/panels/display/cc-display-panel.c +++ b/panels/display/cc-display-panel.c @@ -635,6 +635,8 @@ set_current_output (CcDisplayPanel *panel, cc_display_monitor_set_active (output, TRUE); if (panel->current_output) cc_display_monitor_set_active (panel->current_output, FALSE); + + update_apply_button (panel); } panel->current_output = output;