@@ -1137,6 +1137,7 @@ procedure TFRMWallet.OnWalletChanged(Sender: TObject);
11371137procedure TFRMWallet.PageControlChange (Sender: TObject);
11381138begin
11391139 MiDecodePayload.Enabled := false;
1140+
11401141 if PageControl.ActivePage=tsMyAccounts then begin
11411142 FrameAccountExplorer.AccountsGrid.Node := FNode;
11421143 MiDecodePayload.Enabled := true;
@@ -1145,16 +1146,28 @@ procedure TFRMWallet.PageControlChange(Sender: TObject);
11451146 FrameAccountExplorer.AccountsGrid.Node := Nil ;
11461147 FrameAccountExplorer.SelectedAccountsGrid.Node := Nil ;
11471148 end ;
1149+
11481150 if PageControl.ActivePage=tsPendingOperations then begin
11491151 FPendingOperationsGrid.Node := FNode;
11501152 MiDecodePayload.Enabled := true;
1151- end else FPendingOperationsGrid.Node := Nil ;
1152- if PageControl.ActivePage=tsBlockChain then FBlockChainGrid.Node := FNode
1153- else FBlockChainGrid.Node := Nil ;
1153+ end else begin
1154+ FPendingOperationsGrid.Node := Nil ;
1155+ end ;
1156+
1157+ if PageControl.ActivePage=tsBlockChain then
1158+ begin
1159+ FBlockChainGrid.Node := FNode;
1160+ end else begin
1161+ FBlockChainGrid.Node := Nil ;
1162+ end ;
1163+
11541164 if PageControl.ActivePage=tsOperations then begin
11551165 FOperationsExplorerGrid.Node := FNode;
11561166 MiDecodePayload.Enabled := true;
1157- end else FOperationsExplorerGrid.Node := Nil ;
1167+ end else begin
1168+ FOperationsExplorerGrid.Node := Nil ;
1169+ end ;
1170+
11581171 if PageControl.ActivePage=tsMessages then begin
11591172 FrameMessages.UpdateAvailableConnections;
11601173 FrameMessages.MessagesUnreadCount := 0 ;
0 commit comments