mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-23 11:17:03 -04:00
[ui] fix unwanted behaviour when ISO is unsupported
* Remove "Scanning Image..." from status, and prevent the Start from being enabled when no drive is selected * Closes #375
This commit is contained in:
parent
b6a52756cd
commit
131df52482
3 changed files with 10 additions and 8 deletions
|
@ -417,7 +417,8 @@ void PrintStatus(unsigned int duration, BOOL debug, int msg_id, ...)
|
|||
|
||||
if (msg_id < 0) {
|
||||
//A negative msg_id clears the status
|
||||
SendMessageLU(GetDlgItem(hMainDialog, IDC_STATUS), SB_SETTEXTW, SBT_OWNERDRAW, "");
|
||||
szStatusMessage[0] = 0;
|
||||
SendMessageLU(GetDlgItem(hMainDialog, IDC_STATUS), SB_SETTEXTW, SBT_OWNERDRAW, szStatusMessage);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue