mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Bugfix: if a table selected in the tree were removed, and the tree then refreshed, the tree would disappear "forever" due to an unpaired BeginUpdate (no EndUpdate due to exception).
This commit is contained in:
@@ -5330,8 +5330,10 @@ begin
|
||||
ExpandedDBs.Free;
|
||||
TablesFetched.Free;
|
||||
|
||||
if oldSelectedTable <> '' then
|
||||
SelectedTable := oldSelectedTable;
|
||||
try
|
||||
if oldSelectedTable <> '' then SelectedTable := oldSelectedTable;
|
||||
except
|
||||
end;
|
||||
DBTree.EndUpdate;
|
||||
end;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user