浏览代码

GUI: remove freeze due to quadratic safebox update

Herman Schoenfeld 7 年之前
父节点
当前提交
28b13eda43
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/gui/UCTRLWallet.pas

+ 0 - 2
src/gui/UCTRLWallet.pas

@@ -308,8 +308,6 @@ var
 
 begin
   FUserData := TUserInterface.Node.Bank.SafeBox.GetUserSummary(TWallet.Keys.AccountsKeyList.ToArray, true);
-  FNodeNotifyEvents.WatchKeys.Clear;
-  FNodeNotifyEvents.WatchKeys.AddAccountKeys(FUserData.Keys);
   if cbAccounts.ItemIndex = 0 then
     FAccountsDataSource.FilterKeys := FUserData.Keys;
   FOperationsDataSource.Accounts := TListTool<TAccount, cardinal>.Transform(FUserData.Accounts, GetAccNo);