Fix the settings OK button logic

This commit is contained in:
David Hrdlička
2020-11-21 21:16:32 +01:00
parent 7956a462dc
commit 9159e52349

View File

@@ -4964,7 +4964,6 @@ win_settings_confirm(HWND hdlg)
if (i == 0) {
win_settings_save();
}
DestroyWindow(hwndChildDialog);
EndDialog(hdlg, 0);
@@ -4973,6 +4972,8 @@ win_settings_confirm(HWND hdlg)
return TRUE;
} else
return FALSE;
} else
return TRUE;
}