set transaction tab label to transaction label if available

This commit is contained in:
Craig Raw 2024-09-24 08:49:04 +02:00
parent e1dab3a48e
commit 1bbc586cd6

View file

@ -1908,7 +1908,7 @@ public class AppController implements Initializable {
}
private void addTransactionTab(BlockTransaction blockTransaction, TransactionView initialView, Integer initialIndex) {
addTransactionTab(null, null, blockTransaction.getTransaction(), null, blockTransaction, initialView, initialIndex);
addTransactionTab(blockTransaction.getLabel(), null, blockTransaction.getTransaction(), null, blockTransaction, initialView, initialIndex);
}
private void addTransactionTab(String name, File file, Transaction transaction, PSBT psbt, BlockTransaction blockTransaction, TransactionView initialView, Integer initialIndex) {