mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 15:20:29 +02:00
cocoa: correct the default filter index selection
git-svn-id: trunk@56996 -
This commit is contained in:
parent
76df6066ac
commit
d34d1c1d5f
@ -209,8 +209,8 @@ var
|
||||
lFilter.setDialogFilter(lFilter.lastSelectedItemIndex);
|
||||
lFilter.sizeToFit;
|
||||
lFilter.setAutoresizingMask(NSViewWidthSizable);
|
||||
if FileDialog.FilterIndex>=0 then
|
||||
lFilter.selectItemAtIndex(FileDialog.FilterIndex);
|
||||
if FileDialog.FilterIndex>0 then
|
||||
lFilter.selectItemAtIndex(FileDialog.FilterIndex-1);
|
||||
|
||||
// Trying to put controls into the center of the Acc-view
|
||||
// Label must fit in full. Whatever is left is for filter
|
||||
|
Loading…
Reference in New Issue
Block a user