mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 20:50:20 +08:00
Fix "List index out of bounds", when the table tools dialog is called the second time, and some databases were deleted or filtered.
This commit is contained in:
@ -104,6 +104,8 @@ end;
|
||||
|
||||
procedure TfrmTableTools.FormShow(Sender: TObject);
|
||||
begin
|
||||
// When this form is displayed the second time, databases may be deleted or filtered
|
||||
treeObjects.ReinitChildren(treeObjects.GetFirst, False);
|
||||
// CHECKSUM available since MySQL 4.1.1
|
||||
if Mainform.mysql_version < 40101 then
|
||||
comboOperation.Items[comboOperation.Items.IndexOf('Checksum')] := 'Checksum ('+STR_NOTSUPPORTED+')';
|
||||
|
Reference in New Issue
Block a user