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,6 +712,7 @@ public class MainViewModel implements ViewModel {
marketPriceBinding.subscribe((observable, oldValue, newValue) -> { marketPriceBinding.subscribe((observable, oldValue, newValue) -> {
if (newValue != null && !newValue.equals(oldValue)) { if (newValue != null && !newValue.equals(oldValue)) {
setMarketPriceInItems();
String code = preferences.getUseStickyMarketPrice() ? String code = preferences.getUseStickyMarketPrice() ?
preferences.getPreferredTradeCurrency().getCode() : preferences.getPreferredTradeCurrency().getCode() :

View file

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