mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-25 07:19:30 -05:00
'show all' resets default currency to create new offer
This commit is contained in:
parent
5444d96832
commit
42ede83ca2
@ -260,7 +260,10 @@ abstract class OfferBookViewModel extends ActivatableViewModel {
|
||||
showAllTradeCurrenciesProperty.set(showAllEntry);
|
||||
if (isEditEntry(code))
|
||||
navigation.navigateTo(MainView.class, SettingsView.class, PreferencesView.class);
|
||||
else if (!showAllEntry) {
|
||||
else if (showAllEntry) {
|
||||
this.selectedTradeCurrency = getDefaultTradeCurrency();
|
||||
tradeCurrencyCode.set(selectedTradeCurrency.getCode());
|
||||
} else {
|
||||
this.selectedTradeCurrency = tradeCurrency;
|
||||
tradeCurrencyCode.set(code);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user