Fix Settings dialog not closing after pressing OK
This commit is contained in:
@@ -4962,18 +4962,16 @@ win_settings_confirm(HWND hdlg)
|
|||||||
i = 0;
|
i = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i == 0) {
|
if (i == 0)
|
||||||
win_settings_save();
|
win_settings_save();
|
||||||
|
else
|
||||||
DestroyWindow(hwndChildDialog);
|
|
||||||
EndDialog(hdlg, 0);
|
|
||||||
win_notify_dlg_closed();
|
|
||||||
|
|
||||||
return TRUE;
|
|
||||||
} else
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
} else
|
}
|
||||||
return TRUE;
|
|
||||||
|
DestroyWindow(hwndChildDialog);
|
||||||
|
EndDialog(hdlg, 0);
|
||||||
|
win_notify_dlg_closed();
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user