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:
rosenfield.albert
2008-08-14 21:39:08 +00:00
parent 9191bc5496
commit 685c6dbe81

View File

@@ -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;