mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:20:56 +00:00
Reset the type dropdown when selecting another drive.
This commit is contained in:
parent
7ed3f41c98
commit
08255295e4
|
@ -365,6 +365,8 @@ static void update_controls(HWND dialog)
|
|||
type = current_drive->type;
|
||||
if (type)
|
||||
{
|
||||
SendDlgItemMessage(dialog, IDC_COMBO_TYPE, CB_RESETCONTENT, 0, 0);
|
||||
|
||||
for (i = 0; i < sizeof(type_pairs) / sizeof(struct drive_typemap); i++)
|
||||
{
|
||||
SendDlgItemMessage(dialog, IDC_COMBO_TYPE, CB_ADDSTRING, 0, (LPARAM) type_pairs[i].sDesc);
|
||||
|
|
Loading…
Reference in a new issue