Skip to content

Commit 6d12577

Browse files
omerarslan0pbatard
authored andcommitted
[ui] address a condition where controls may be enabled when no image is selected
* Closes #2935.
1 parent 5f75e06 commit 6d12577

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/rufus.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*
22
* Rufus: The Reliable USB Formatting Utility
33
* Copyright © 2011-2026 Pete Batard <pete@akeo.ie>
44
*
@@ -3015,6 +3015,8 @@ static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPA
30153015
img_provided = TRUE;
30163016
// Simulate image selection click
30173017
SendMessage(hDlg, WM_COMMAND, IDC_SELECT, 0);
3018+
} else {
3019+
EnableControls(TRUE, FALSE);
30183020
}
30193021
}
30203022
break;

src/rufus.rc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
3333
IDD_DIALOG DIALOGEX 12, 12, 232, 326
3434
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
3535
EXSTYLE WS_EX_ACCEPTFILES
36-
CAPTION "Rufus 4.14.2324"
36+
CAPTION "Rufus 4.14.2325"
3737
FONT 9, "Segoe UI Symbol", 400, 0, 0x0
3838
BEGIN
3939
LTEXT "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP
@@ -409,8 +409,8 @@ END
409409
//
410410

411411
VS_VERSION_INFO VERSIONINFO
412-
FILEVERSION 4,14,2324,0
413-
PRODUCTVERSION 4,14,2324,0
412+
FILEVERSION 4,14,2325,0
413+
PRODUCTVERSION 4,14,2325,0
414414
FILEFLAGSMASK 0x3fL
415415
#ifdef _DEBUG
416416
FILEFLAGS 0x1L
@@ -428,13 +428,13 @@ BEGIN
428428
VALUE "Comments", "https://rufus.ie"
429429
VALUE "CompanyName", "Akeo Consulting"
430430
VALUE "FileDescription", "Rufus"
431-
VALUE "FileVersion", "4.14.2324"
431+
VALUE "FileVersion", "4.14.2325"
432432
VALUE "InternalName", "Rufus"
433433
VALUE "LegalCopyright", "� 2011-2026 Pete Batard (GPL v3)"
434434
VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.html"
435435
VALUE "OriginalFilename", "rufus-4.14.exe"
436436
VALUE "ProductName", "Rufus"
437-
VALUE "ProductVersion", "4.14.2324"
437+
VALUE "ProductVersion", "4.14.2325"
438438
END
439439
END
440440
BLOCK "VarFileInfo"

0 commit comments

Comments
 (0)