mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Minor safety fix: Be sure status bar doesn't display old "db: xx tables".
This commit is contained in:
@@ -2231,10 +2231,10 @@ begin
|
||||
VTRowDataListTables[i-1].Captions := ListCaptions;
|
||||
ds.Next;
|
||||
end;
|
||||
mainform.showstatus(db + ': ' + IntToStr(ds.RecordCount) +' table(s)');
|
||||
finally
|
||||
ListTables.RootNodeCount := Length(VTRowDataListTables);
|
||||
ListTables.EndUpdate;
|
||||
Mainform.showstatus(db + ': ' + IntToStr(ListTables.RootNodeCount) +' table(s)');
|
||||
Screen.Cursor := crDefault;
|
||||
end;
|
||||
end;
|
||||
|
||||
Reference in New Issue
Block a user