mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 18:12:05 +08:00
On a blank server with 0 databases, the dbtree stayed empty after creating a database. DBtree.ResetNode seems to solve this, better as DBtree.ReInitChildren. Unfortunately that also collapses expanded nodes.
This commit is contained in:
@ -6119,7 +6119,7 @@ begin
|
||||
Connection.ClearDbObjects;
|
||||
FreeAndNil(AllDatabases);
|
||||
end;
|
||||
DBtree.ReinitChildren(DBTree.GetFirst, False);
|
||||
DBtree.ResetNode(DBTree.GetFirst);
|
||||
|
||||
// Reselect active or new database if present. Could have been deleted or renamed.
|
||||
try
|
||||
|
Reference in New Issue
Block a user