From fab28c106852be45da7690b901b2d9444c4ce7fc Mon Sep 17 00:00:00 2001 From: rosenfield Date: Mon, 17 Sep 2007 19:25:35 +0000 Subject: [PATCH] Bugfix: Update control state in optimize table window when switching databases (see code). --- source/optimizetables.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/optimizetables.pas b/source/optimizetables.pas index 332446fc..1bc5dbe3 100644 --- a/source/optimizetables.pas +++ b/source/optimizetables.pas @@ -102,6 +102,8 @@ begin TablesCheckListBox.Items := Mainform.ChildWin.GetCol( 'SHOW TABLES FROM ' + MainForm.mask(DBComboBox.Text) ); // Check all ToggleCheckListBox( TablesCheckListBox, True ); + // Enable controls if there are tables in the database. + ValidateControls; end;