From ee22e57cd1cf154a9b21b2e6fb4c7a612b2cc677 Mon Sep 17 00:00:00 2001 From: SeymourApps Date: Sat, 9 Jan 2016 19:52:18 -0500 Subject: [PATCH] Fixed part 2 of issue #490 --- src/rufus.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/rufus.c b/src/rufus.c index 5c8b9dfa..523c10d8 100644 --- a/src/rufus.c +++ b/src/rufus.c @@ -2377,6 +2377,12 @@ static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPA EnableAdvancedBootOptions(TRUE, TRUE); if (selection_default == BT_IMG) ToggleImage(!IsChecked(IDC_BOOT)); + + if(IsChecked(IDC_BOOT)) { + SetWindowTextU(hLabel, img_report.label); + } else { + SetWindowTextU(hLabel, DriveLabel.String[ComboBox_GetCurSel(hDeviceList)]); + } break; case IDC_BOOTTYPE: if (HIWORD(wParam) != CBN_SELCHANGE)