From 6de61243b38b33cf7240826244a57794753c96f4 Mon Sep 17 00:00:00 2001 From: woodser Date: Mon, 8 Jul 2024 11:13:37 -0400 Subject: [PATCH] set selected currency when account has single currency --- .../traditionalaccounts/TraditionalAccountsDataModel.java | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop/src/main/java/haveno/desktop/main/account/content/traditionalaccounts/TraditionalAccountsDataModel.java b/desktop/src/main/java/haveno/desktop/main/account/content/traditionalaccounts/TraditionalAccountsDataModel.java index d34857a15e..b72b89fe28 100644 --- a/desktop/src/main/java/haveno/desktop/main/account/content/traditionalaccounts/TraditionalAccountsDataModel.java +++ b/desktop/src/main/java/haveno/desktop/main/account/content/traditionalaccounts/TraditionalAccountsDataModel.java @@ -108,6 +108,7 @@ class TraditionalAccountsDataModel extends ActivatableDataModel { TradeCurrency singleTradeCurrency = paymentAccount.getSingleTradeCurrency(); List tradeCurrencies = paymentAccount.getTradeCurrencies(); if (singleTradeCurrency != null) { + paymentAccount.setSelectedTradeCurrency(singleTradeCurrency); if (singleTradeCurrency instanceof TraditionalCurrency) preferences.addTraditionalCurrency((TraditionalCurrency) singleTradeCurrency); else