msi: An inactive dialog control does not require a property.
This commit is contained in:
parent
f3e7ed44f1
commit
ced35838ea
|
@ -1988,7 +1988,7 @@ static UINT msi_dialog_create_radiobutton( MSIRECORD *rec, LPVOID param )
|
||||||
return ERROR_FUNCTION_FAILED;
|
return ERROR_FUNCTION_FAILED;
|
||||||
control->handler = msi_dialog_radiogroup_handler;
|
control->handler = msi_dialog_radiogroup_handler;
|
||||||
|
|
||||||
if (!strcmpW( control->name, group->propval ))
|
if (group->propval && !strcmpW( control->name, group->propval ))
|
||||||
SendMessageW(control->hwnd, BM_SETCHECK, BST_CHECKED, 0);
|
SendMessageW(control->hwnd, BM_SETCHECK, BST_CHECKED, 0);
|
||||||
|
|
||||||
prop = MSI_RecordGetString( rec, 1 );
|
prop = MSI_RecordGetString( rec, 1 );
|
||||||
|
|
Loading…
Reference in New Issue