Refresh and repaint ListTables immediately after reconnect, to avoid AVs on double click.

This commit is contained in:
Ansgar Becker
2010-04-03 17:10:59 +00:00
parent a3dd2e86df
commit 2d9a4bc70e

View File

@@ -6514,7 +6514,7 @@ end;
procedure TMainForm.AfterClearDBObjects(Database: String);
begin
if (Database='') or (ActiveDatabase=Database) then
InvalidateVT(ListTables, VTREE_NOTLOADED, False);
InvalidateVT(ListTables, VTREE_NOTLOADED, True);
end;