Pārlūkot izejas kodu

GUI: remove freeze due to quadratic safebox update

Herman Schoenfeld 7 gadi atpakaļ
vecāks
revīzija
28b13eda43
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  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);