[bisq-network/bisq-desktop] Fix select currency issues after edit offer (#1578)

Christoph Atteneder notifications at github.com
Mon Jun 25 08:47:48 UTC 2018


ripcurlx commented on this pull request.



>      }
 
     public void initWithData(OpenOffer openOffer) {
         this.openOffer = openOffer;
         this.initialState = openOffer.getState();
         this.paymentAccount = user.getPaymentAccount(openOffer.getOffer().getMakerPaymentAccountId());
+        // select the current offer payment account as default payment account
+        preferences.setSelectedPaymentAccountForCreateOffer(paymentAccount);

Actually this is already the edit offer sub class. The naming of the method is misleading, I'll rename it to a generic one.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq-desktop/pull/1578#discussion_r197720381
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20180625/4f33f960/attachment.html>


More information about the bisq-github mailing list