From 4119d69fcab3ac1d24c16fc85fbdff7c418b843f Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Tue, 7 May 2019 20:17:30 +0200 Subject: [PATCH] When creating a query result tab, let the grid be visible until it's aligned correctly. Potentially fixes artefacts at the top left of the query memo. Closes #410. --- source/main.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.pas b/source/main.pas index 1ef2b2b9..8f481582 100644 --- a/source/main.pas +++ b/source/main.pas @@ -13145,10 +13145,10 @@ begin OrgGrid := Mainform.QueryGrid; Grid := TVirtualStringTree.Create(QueryTab.TabSheet); Grid.Parent := QueryTab.TabSheet; - Grid.Visible := False; Grid.Tag := OrgGrid.Tag; Grid.BorderStyle := OrgGrid.BorderStyle; Grid.Align := OrgGrid.Align; + Grid.Visible := False; Grid.TreeOptions := OrgGrid.TreeOptions; Grid.PopupMenu := OrgGrid.PopupMenu; Grid.LineStyle := OrgGrid.LineStyle;