mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-28 13:44:15 -04:00
[ui] fix dropdown being populated on ISO selection when no device is present
* Also remove unneeded code in libfat.h * Also set rufus-next to 2.3
This commit is contained in:
parent
9e7b0bad89
commit
0e59b86abc
5 changed files with 22 additions and 20 deletions
|
@ -398,6 +398,9 @@ static void SetMBRForUEFI(BOOL replace)
|
|||
{
|
||||
BOOL useCSM = FALSE;
|
||||
|
||||
if (ComboBox_GetCurSel(hDeviceList) < 0)
|
||||
return;
|
||||
|
||||
if (image_path != NULL) {
|
||||
if ( (!iso_report.has_efi) || ((iso_report.has_bootmgr) && (!allow_dual_uefi_bios) &&
|
||||
(Button_GetCheck(GetDlgItem(hMainDialog, IDC_WINDOWS_TO_GO)) != BST_CHECKED)) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue