Merge pull request #2973 from Cacodemon345/patch-111

Reset size of screen on 4:3 option toggling
This commit is contained in:
Miran Grča
2022-12-19 15:50:32 +01:00
committed by GitHub

View File

@@ -1835,6 +1835,7 @@ video_toggle_option(QAction *action, int *val)
action->setChecked(*val > 0 ? true : false);
endblit();
config_save();
reset_screen_size();
device_force_redraw();
for (int i = 0; i < MONITORS_NUM; i++) {
if (monitors[i].target_buffer)