Fix the settings OK button logic
This commit is contained in:
@@ -4964,7 +4964,6 @@ win_settings_confirm(HWND hdlg)
|
|||||||
|
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
win_settings_save();
|
win_settings_save();
|
||||||
}
|
|
||||||
|
|
||||||
DestroyWindow(hwndChildDialog);
|
DestroyWindow(hwndChildDialog);
|
||||||
EndDialog(hdlg, 0);
|
EndDialog(hdlg, 0);
|
||||||
@@ -4973,6 +4972,8 @@ win_settings_confirm(HWND hdlg)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
} else
|
} else
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
} else
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user