Commit f618eb28 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Respect the indirect attribute in the SelectionPath event handler.

parent 8f3dabf3
......@@ -691,7 +691,8 @@ void msi_dialog_handle_event( msi_dialog* dialog, LPCWSTR control,
}
else if ( !strcmpW( attribute, szSelectionPath ) )
{
LPWSTR path = msi_dialog_dup_property( dialog, ctrl->property, TRUE );
BOOL indirect = ctrl->attributes & msidbControlAttributesIndirect;
LPWSTR path = msi_dialog_dup_property( dialog, ctrl->property, indirect );
if (!path) return;
SetWindowTextW( ctrl->hwnd, path );
msi_free(path);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment