mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-20 18:50:51 +01:00
cocoa: filter preselection on dialog openning. #32952
git-svn-id: trunk@56995 -
This commit is contained in:
parent
9327c79d22
commit
76df6066ac
@ -209,6 +209,8 @@ var
|
|||||||
lFilter.setDialogFilter(lFilter.lastSelectedItemIndex);
|
lFilter.setDialogFilter(lFilter.lastSelectedItemIndex);
|
||||||
lFilter.sizeToFit;
|
lFilter.sizeToFit;
|
||||||
lFilter.setAutoresizingMask(NSViewWidthSizable);
|
lFilter.setAutoresizingMask(NSViewWidthSizable);
|
||||||
|
if FileDialog.FilterIndex>=0 then
|
||||||
|
lFilter.selectItemAtIndex(FileDialog.FilterIndex);
|
||||||
|
|
||||||
// Trying to put controls into the center of the Acc-view
|
// Trying to put controls into the center of the Acc-view
|
||||||
// Label must fit in full. Whatever is left is for filter
|
// Label must fit in full. Whatever is left is for filter
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user