mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-17 04:40:18 +08:00
Various AVs (e.g. after SessionConnect) caused by ListTables nodes, still bound to old TDBObject items. Fixes issue #1747.
This commit is contained in:
@ -1815,6 +1815,7 @@ begin
|
|||||||
// Clear database and table lists
|
// Clear database and table lists
|
||||||
DBtree.ClearSelection;
|
DBtree.ClearSelection;
|
||||||
DBtree.FocusedNode := nil;
|
DBtree.FocusedNode := nil;
|
||||||
|
PreviousFocusedNode := nil;
|
||||||
FreeAndNil(AllDatabases);
|
FreeAndNil(AllDatabases);
|
||||||
FreeAndNil(DataGridHiddenColumns);
|
FreeAndNil(DataGridHiddenColumns);
|
||||||
SynMemoFilter.Clear;
|
SynMemoFilter.Clear;
|
||||||
@ -1832,6 +1833,7 @@ begin
|
|||||||
ListStatus.Tag := VTREE_NOTLOADED;
|
ListStatus.Tag := VTREE_NOTLOADED;
|
||||||
ListProcesses.Tag := VTREE_NOTLOADED;
|
ListProcesses.Tag := VTREE_NOTLOADED;
|
||||||
ListCommandstats.Tag := VTREE_NOTLOADED;
|
ListCommandstats.Tag := VTREE_NOTLOADED;
|
||||||
|
ListTables.Tag := VTREE_NOTLOADED;
|
||||||
|
|
||||||
Application.Title := APPNAME;
|
Application.Title := APPNAME;
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user