fix #49 - the shortcut editor doesnt display anything anymore

This commit is contained in:
Basile Burg 2020-06-14 19:08:06 +02:00
parent 95a6418882
commit 48f1506165
1 changed files with 2 additions and 1 deletions

View File

@ -482,6 +482,7 @@ var
end;
begin
tree.BeginUpdate;
tree.Items.Clear;
fShortcuts.items.Clear;
fBackup.items.Clear;
@ -492,8 +493,8 @@ begin
for j:= 0 to o.scedCount-1 do
addItem(o.scedGetItem(j), j);
end;
tree.Items.SortTopLevelNodes(@sortCategories);
tree.EndUpdate;
fBackup.Assign(fShortcuts);
end;