Explorar o código

GUI: remove freeze due to quadratic safebox update

Herman Schoenfeld %!s(int64=7) %!d(string=hai) anos
pai
achega
28b13eda43
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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);