fix, sym list, module without declarations got the tree of the previous editor tab

only a workaround actually, as this is caused by https://bugs.freepascal.org/view.php?id=37560
This commit is contained in:
Basile Burg 2020-08-13 00:10:28 +02:00
parent f478d5cd0c
commit e0f3d68ced
1 changed files with 1 additions and 0 deletions

View File

@ -848,6 +848,7 @@ begin
tree.BeginUpdate;
clearTree;
updateVisibleCat;
fSyms.symbols.Clear;
fSyms.LoadFromString(fTreeDataFromThread);
f := TreeFilterEdit1.Filter;
TreeFilterEdit1.Text := '';