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
This commit is contained in:
parent
5aa17c6984
commit
75bf1b8cd1
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue