[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:
Pete Batard 2014-10-31 19:06:05 +00:00
parent b6a52756cd
commit 131df52482
3 changed files with 10 additions and 8 deletions

View file

@ -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;
}