From ef14ba7cffe694335836c1e314f06f75b2cd98f3 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Wed, 10 Jun 2009 15:24:05 +0000 Subject: [PATCH] Bugfix: Change events should not get fired as soon as the table editor has not finished loading. --- source/table_editor.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/table_editor.pas b/source/table_editor.pas index 68c46ab5..f9bdb4ef 100644 --- a/source/table_editor.pas +++ b/source/table_editor.pas @@ -192,7 +192,6 @@ begin FixVT(treeIndexes); Mainform.RestoreListSetup(listColumns); Mainform.RestoreListSetup(treeIndexes); - FLoaded := False; comboRowFormat.Items.CommaText := 'DEFAULT,DYNAMIC,FIXED,COMPRESSED,REDUNDANT,COMPACT'; comboInsertMethod.Items.CommaText := 'NO,FIRST,LAST'; SynMemoALTERcode.TabWidth := Mainform.SynMemoQuery.TabWidth; @@ -231,6 +230,7 @@ var rx: TRegExpr; begin SetStatus('Initializing ...'); + FLoaded := False; // Start with "basic" tab activated when just called if FAlterTableName <> AlterTableName then PageControlMain.ActivePage := tabBasic;