Commit c8dc8aa5 authored by dmitry's avatar dmitry
Browse files

cocoa: implementing the event to call filetypechanged for a file dialog. bug #36024

git-svn-id: trunk@62158 -
parent 4d3b324f
......@@ -759,7 +759,11 @@ end;
procedure TCocoaFilterComboBox.comboboxAction(sender: id);
begin
if (indexOfSelectedItem <> lastSelectedItemIndex) then
begin
setDialogFilter(indexOfSelectedItem);
if Assigned(Owner) then
Owner.IntfFileTypeChanged(lastSelectedItemIndex);
end;
lastSelectedItemIndex := indexOfSelectedItem;
end;
......
Supports Markdown
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