From ffe782b157f7e8a13c18a6ef0f12d09a3350c48c Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Tue, 1 Dec 2009 15:12:28 +0000 Subject: [PATCH] Now that the table tools dialog also has a second tree column "size", it should get autofitted the same way as mainform.dbtree. Fixes issue #1500. --- source/main.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.pas b/source/main.pas index ed81e019..2bad4d40 100644 --- a/source/main.pas +++ b/source/main.pas @@ -6090,7 +6090,7 @@ begin end; // Auto resize "Size" column in dbtree when needed // See also OnResize - if (VT = DBtree) and (coVisible in VT.Header.Columns[1].Options) then + if coVisible in VT.Header.Columns[1].Options then VT.Header.AutoFitColumns(False, smaUseColumnOption, 1, 1); end; else Exit;