Skip to content

Commit

Permalink
Reformat sendButton handler in FilterWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
lusarz committed Nov 15, 2019
1 parent 0c2639a commit a6ee5d5
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ private void addContent() {
}
Button sendButton = new AutoTooltipButton(Res.get("filterWindow.add"));
sendButton.setOnAction(e -> {
if (sendFilterMessageHandler.handle(new Filter(
if (sendFilterMessageHandler.handle(
new Filter(
readAsList(offerIdsInputTextField),
readAsList(nodesInputTextField),
readAsPaymentAccountFiltersList(paymentAccountFilterInputTextField),
Expand All @@ -181,8 +182,10 @@ private void addContent() {
disableDaoBelowVersionInputTextField.getText(),
disableTradeBelowVersionInputTextField.getText(),
readAsList(mediatorsInputTextField),
readAsList(refundAgentsInputTextField)),
keyInputTextField.getText()))
readAsList(refundAgentsInputTextField)
),
keyInputTextField.getText())
)
hide();
else
new Popup<>().warning(Res.get("shared.invalidKey")).width(300).onClose(this::blurAgain).show();
Expand Down

0 comments on commit a6ee5d5

Please sign in to comment.