[ui] fix 'Image option'/'Persistent partition size' title not toggling when switching ISOs

This commit is contained in:
Pete Batard 2022-11-07 17:42:54 +00:00
parent c19ef1125d
commit 3cd6d18ef8
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
2 changed files with 6 additions and 5 deletions

View file

@ -792,6 +792,7 @@ void ToggleImageOptions(void)
((!has_wintogo) && (image_options & IMOP_WINTOGO))) {
image_options ^= IMOP_WINTOGO;
if (image_options & IMOP_WINTOGO) {
SetWindowTextU(GetDlgItem(hMainDialog, IDS_IMAGE_OPTION_TXT), image_option_txt);
// Set the Windows To Go selection in the dropdown
IGNORE_RETVAL(ComboBox_SetCurSel(hImageOption, imop_win_sel));
}