mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 02:49:06 +02:00
cocoa: implementing the event to call filetypechanged for a file dialog. bug #36024
git-svn-id: trunk@62158 -
This commit is contained in:
parent
4d3b324f74
commit
c8dc8aa5c1
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user