Module: wine Branch: refs/heads/master Commit: 7745a831a13adc0c8f55911009c3b2b57b8fa754 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=7745a831a13adc0c8f559110...
Author: James Hawkins truiken@gmail.com Date: Mon Jul 17 15:17:38 2006 -0700
msi: Update the feature components' states when a feature is selected.
---
dlls/msi/dialog.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index 2bb931f..d8e7cf5 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -1509,6 +1509,7 @@ static LRESULT msi_seltree_menu( HWND hwnd, HTREEITEM hItem ) { MSIFEATURE *feature; + ComponentList *cl; union { RECT rc; POINT pt[2]; @@ -1545,6 +1546,13 @@ msi_seltree_menu( HWND hwnd, HTREEITEM h /* update */ msi_seltree_sync_item_state( hwnd, feature, hItem );
+ /* update the feature's components */ + LIST_FOR_EACH_ENTRY( cl, &feature->Components, ComponentList, entry ) + { + cl->component->Action = feature->Action; + cl->component->ActionRequest = feature->ActionRequest; + } + return 0; }