mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 00:20:13 +02:00
LCL: fix TValueListEditor LoadFromFile if to be loaded grid is empty. Part of issue #0036166.
git-svn-id: trunk@62044 -
This commit is contained in:
parent
8c90dbc81a
commit
631b507057
@ -1300,6 +1300,7 @@ begin
|
||||
ContentSaved:=Cfg.GetValue('grid/saveoptions/content', false);
|
||||
if ContentSaved then
|
||||
begin
|
||||
Clean(0,0,ColCount-1,RowCount-1,[]); //need if the to be loaded grid has no entries
|
||||
HasColumnTitles := cfg.getValue('grid/content/hascolumntitles', False);
|
||||
if HasColumnTitles then
|
||||
DisplayOptions := DisplayOptions + [doColumnTitles]
|
||||
|
Loading…
Reference in New Issue
Block a user