Explorar el Código

GUI: watch correct key list

Herman Schoenfeld hace 7 años
padre
commit
c7b679da42
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/gui/UCTRLWallet.pas

+ 1 - 1
src/gui/UCTRLWallet.pas

@@ -109,7 +109,7 @@ var
 begin
   // event registrations
   FNodeNotifyEvents := TNodeNotifyEvents.Create(self);
-  FNodeNotifyEvents.WatchKeys := AutoDispose( TOrderedAccountKeysList.Create(TUserInterface.Node.Bank.SafeBox, false) ) as TOrderedAccountKeysList;
+  FNodeNotifyEvents.WatchKeys := TWallet.Keys.AccountsKeyList;
   FNodeNotifyEvents.OnKeyActivity:= OnUserAccountsChanged;
   FNodeNotifyEvents.OnBlocksChanged := OnNodeBlocksChanged;
   FNodeNotifyEvents.OnOperationsChanged := OnNodeNewOperation;