Merge pull request #1475 from ripcurlx/fix-total-amount-duplication-in-spread-view

Add missing parenthesis
This commit is contained in:
Manfred Karrer 2018-03-22 19:08:46 -05:00 committed by GitHub
commit b4ee6c19a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -275,9 +275,10 @@ public class SpreadView extends ActivatableViewAndModel<GridPane, SpreadViewMode
super.updateItem(item, empty);
if (item != null && !empty)
setGraphic(new ColoredDecimalPlacesWithZerosText(model.getAmount(item.totalAmount), GUIUtil.AMOUNT_DECIMALS_WITH_ZEROS));
else
else {
setText("");
setGraphic(null);
}
}
};
}