From 3ade9750d313707991045d25bf39b7760f077b1b Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 19 Jun 2020 15:10:12 -0700 Subject: [PATCH] ;valuation: fix hledger-ui (#1239, #1253) --- hledger-ui/Hledger/UI/TransactionScreen.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-ui/Hledger/UI/TransactionScreen.hs b/hledger-ui/Hledger/UI/TransactionScreen.hs index 61ce70d98..154ab4b6c 100644 --- a/hledger-ui/Hledger/UI/TransactionScreen.hs +++ b/hledger-ui/Hledger/UI/TransactionScreen.hs @@ -73,7 +73,7 @@ tsDraw UIState{aopts=UIOpts{cliopts_=copts@CliOpts{reportopts_=ropts}} where maincontent = Widget Greedy Greedy $ do let - prices = journalPriceOracle j + prices = journalPriceOracle (infer_value_ ropts) j styles = journalCommodityStyles j periodlast = fromMaybe (error' "TransactionScreen: expected a non-empty journal") $ -- XXX shouldn't happen