Fix missing market price update

This commit is contained in:
Manfred Karrer 2016-04-14 10:23:02 +02:00
parent 7e3d2356da
commit 0d3a3cd63a
2 changed files with 2 additions and 5 deletions

View File

@ -712,7 +712,8 @@ public class MainViewModel implements ViewModel {
marketPriceBinding.subscribe((observable, oldValue, newValue) -> {
if (newValue != null && !newValue.equals(oldValue)) {
setMarketPriceInItems();
String code = preferences.getUseStickyMarketPrice() ?
preferences.getPreferredTradeCurrency().getCode() :
priceFeed.currencyCodeProperty().get();

View File

@ -15,10 +15,6 @@ public class PriceFeedComboBoxItem {
this.currencyCode = currencyCode;
}
public String getDisplayString() {
return displayStringProperty.get();
}
public void setDisplayString(String displayString) {
this.displayStringProperty.set(displayString);
}