Change wording in currency dropdown. Fixes #2068.

This commit is contained in:
Christoph Atteneder 2018-12-06 09:50:06 +01:00
parent 806fcbe7c0
commit d717a83f23
No known key found for this signature in database
GPG Key ID: CD5DC1C529CDFD3B

View File

@ -449,10 +449,10 @@ public class TradesChartsView extends ActivatableViewAndModel<VBox, TradesCharts
final Tuple3<VBox, Label, ComboBox<CurrencyListItem>> currencyComboBoxTuple = addTopLabelComboBox(Res.get("shared.currency"),
Res.get("list.currency.select"));
currencyComboBox = currencyComboBoxTuple.third;
currencyComboBox.setButtonCell(GUIUtil.getCurrencyListItemButtonCell(Res.get("shared.oneOffer"),
Res.get("shared.multipleOffers"), model.preferences));
currencyComboBox.setCellFactory(GUIUtil.getCurrencyListItemCellFactory(Res.get("shared.oneOffer"),
Res.get("shared.multipleOffers"), model.preferences));
currencyComboBox.setButtonCell(GUIUtil.getCurrencyListItemButtonCell(Res.get("shared.trade"),
Res.get("shared.trades"), model.preferences));
currencyComboBox.setCellFactory(GUIUtil.getCurrencyListItemCellFactory(Res.get("shared.trade"),
Res.get("shared.trades"), model.preferences));
currencyComboBox.setPromptText(Res.get("list.currency.select"));