Bugfix: Update control state in optimize table window when switching databases (see code).

This commit is contained in:
rosenfield
2007-09-17 19:25:35 +00:00
parent 4449a6c055
commit fab28c1068

View File

@ -102,6 +102,8 @@ begin
TablesCheckListBox.Items := Mainform.ChildWin.GetCol( 'SHOW TABLES FROM ' + MainForm.mask(DBComboBox.Text) ); TablesCheckListBox.Items := Mainform.ChildWin.GetCol( 'SHOW TABLES FROM ' + MainForm.mask(DBComboBox.Text) );
// Check all // Check all
ToggleCheckListBox( TablesCheckListBox, True ); ToggleCheckListBox( TablesCheckListBox, True );
// Enable controls if there are tables in the database.
ValidateControls;
end; end;