mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-02 11:46:11 -04:00
Rename transaction to transactions
This commit is contained in:
parent
8621bebdc0
commit
7eff8dc02e
1 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,7 @@ import static io.bitsquare.gui.util.FormBuilder.addMultilineLabel;
|
||||||
public class SelectDepositTxWindow extends Overlay<SelectDepositTxWindow> {
|
public class SelectDepositTxWindow extends Overlay<SelectDepositTxWindow> {
|
||||||
private static final Logger log = LoggerFactory.getLogger(SelectDepositTxWindow.class);
|
private static final Logger log = LoggerFactory.getLogger(SelectDepositTxWindow.class);
|
||||||
private ComboBox<Transaction> transactionsComboBox;
|
private ComboBox<Transaction> transactionsComboBox;
|
||||||
private List<Transaction> transaction;
|
private List<Transaction> transactions;
|
||||||
private Optional<Consumer<Transaction>> selectHandlerOptional;
|
private Optional<Consumer<Transaction>> selectHandlerOptional;
|
||||||
|
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ public class SelectDepositTxWindow extends Overlay<SelectDepositTxWindow> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public SelectDepositTxWindow transactions(List<Transaction> transaction) {
|
public SelectDepositTxWindow transactions(List<Transaction> transaction) {
|
||||||
this.transaction = transaction;
|
this.transactions = transaction;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ public class SelectDepositTxWindow extends Overlay<SelectDepositTxWindow> {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
transactionsComboBox.setItems(FXCollections.observableArrayList(transaction));
|
transactionsComboBox.setItems(FXCollections.observableArrayList(transactions));
|
||||||
transactionsComboBox.setOnAction(event -> {
|
transactionsComboBox.setOnAction(event -> {
|
||||||
selectHandlerOptional.get().accept(transactionsComboBox.getSelectionModel().getSelectedItem());
|
selectHandlerOptional.get().accept(transactionsComboBox.getSelectionModel().getSelectedItem());
|
||||||
hide();
|
hide();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue