1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

Fixed part 2 of issue #490

This commit is contained in:
SeymourApps 2016-01-09 19:52:18 -05:00
parent 0f491a7840
commit ee22e57cd1

View file

@ -2377,6 +2377,12 @@ static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPA
EnableAdvancedBootOptions(TRUE, TRUE); EnableAdvancedBootOptions(TRUE, TRUE);
if (selection_default == BT_IMG) if (selection_default == BT_IMG)
ToggleImage(!IsChecked(IDC_BOOT)); ToggleImage(!IsChecked(IDC_BOOT));
if(IsChecked(IDC_BOOT)) {
SetWindowTextU(hLabel, img_report.label);
} else {
SetWindowTextU(hLabel, DriveLabel.String[ComboBox_GetCurSel(hDeviceList)]);
}
break; break;
case IDC_BOOTTYPE: case IDC_BOOTTYPE:
if (HIWORD(wParam) != CBN_SELCHANGE) if (HIWORD(wParam) != CBN_SELCHANGE)