mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Always invalidate db objects in "Database" tab in some refresh action. Active database is probably even indeterminable within a refresh and so a check for same db name fails and AVs follow because of non initialized nodes in ListTables. Fixes issue #1909.
This commit is contained in:
@@ -6374,8 +6374,7 @@ begin
|
||||
if csDestroying in ComponentState then
|
||||
Exit;
|
||||
// Reload objects in ListTables
|
||||
if ActiveDatabase=Database then
|
||||
InvalidateVT(ListTables, VTREE_NOTLOADED, False);
|
||||
InvalidateVT(ListTables, VTREE_NOTLOADED, False);
|
||||
// Reload objects for database tree
|
||||
Node := DBtree.GetFirstChild(DBtree.GetFirst);
|
||||
while Assigned(Node) do begin
|
||||
|
||||
Reference in New Issue
Block a user