msi: Expand features with odd Display values.
This commit is contained in:
parent
cf9886e6e0
commit
e295bd9743
|
@ -1625,6 +1625,10 @@ msi_seltree_add_child_features( MSIPACKAGE *package, HWND hwnd,
|
|||
msi_seltree_sync_item_state( hwnd, feature, hitem );
|
||||
msi_seltree_add_child_features( package, hwnd,
|
||||
feature->Feature, hitem );
|
||||
|
||||
/* the node is expanded if Display is odd */
|
||||
if ( feature->Display % 2 != 0 )
|
||||
SendMessageW( hwnd, TVM_EXPAND, TVE_EXPAND, (LPARAM) hitem );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue