mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 08:08:00 +02:00
lcl: fixed TDbLookupCombobox showing blank items when used with a TSdfDataset and FPC 2.6.4, bug #30931, patch from Luca Olivetti
git-svn-id: trunk@54950 -
This commit is contained in:
parent
80a8c39f9d
commit
e8857ce5b7
@ -281,7 +281,7 @@ begin
|
||||
Bookmark := ListLinkDataSet.GetBookmark;
|
||||
//in fpc 2.6.4, TMemDataset does not supports BlockRead. Issues 26356, 27959
|
||||
{$IF FPC_FULLVERSION < 30000}
|
||||
DatasetSupportsBlockRead := not IsClass(ListLinkDataSet, 'TMemDataset');
|
||||
DatasetSupportsBlockRead := not IsClass(ListLinkDataSet, 'TMemDataset') and not IsClass(ListLinkDataSet, 'TFixedFormatDataSet');
|
||||
if DatasetSupportsBlockRead then
|
||||
ListLinkDataSet.BlockReadSize := 1
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user