summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2010-09-11 13:23:38 +0200
committerGraeme Geldenhuys <graemeg@gmail.com>2010-09-11 13:23:38 +0200
commitee174a54a4229d9d0522bee72ba06319086bc9de (patch)
treea8fe371277e314209c44ccd6a06cd52e8c3b8712 /src/gui
parent58a54c28ab948a447692d0e354e39e82bb5a04d5 (diff)
downloadfpGUI-ee174a54a4229d9d0522bee72ba06319086bc9de.tar.xz
File Open/Save Bookmark dialog: minor grid speed improvement.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/managebookmarksdialog.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/managebookmarksdialog.inc b/src/gui/managebookmarksdialog.inc
index 2a507443..ceef4cba 100644
--- a/src/gui/managebookmarksdialog.inc
+++ b/src/gui/managebookmarksdialog.inc
@@ -67,11 +67,13 @@ begin
lst := TStringList.Create;
FIni.ReadSection(FPG_BOOKMARK_SECTION, lst);
grdBookmarks.RowCount := lst.Count;
+ grdBookmarks.BeginUpdate;
for i := 0 to lst.Count-1 do
begin
grdBookmarks.Cells[0, i] := lst[i];
grdBookmarks.Cells[1, i] := FIni.ReadString(FPG_BOOKMARK_SECTION, lst[i], '');
end;
+ grdBookmarks.EndUpdate;
lst.Free;
end;