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,15 +4964,16 @@ win_settings_confirm(HWND hdlg)
if (i == 0) {
win_settings_save();
}
DestroyWindow(hwndChildDialog);
EndDialog(hdlg, 0);
win_notify_dlg_closed();
DestroyWindow(hwndChildDialog);
EndDialog(hdlg, 0);
win_notify_dlg_closed();
return TRUE;
return TRUE;
} else
return FALSE;
} else
return FALSE;
return TRUE;
}