From 17b241eb6416e2a9d7d4f50ed604d0a93c794ec6 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 14 May 2021 11:38:14 -1000 Subject: [PATCH] ui: don't write debug.log when toggling V (#1556) --- hledger-ui/Hledger/UI/UIState.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-ui/Hledger/UI/UIState.hs b/hledger-ui/Hledger/UI/UIState.hs index bd95331b1..af2126f4f 100644 --- a/hledger-ui/Hledger/UI/UIState.hs +++ b/hledger-ui/Hledger/UI/UIState.hs @@ -123,7 +123,7 @@ toggleCost ui@UIState{aopts=uopts@UIOpts{cliopts_=copts@CliOpts{reportspec_=rspe toggleValue :: UIState -> UIState toggleValue ui@UIState{aopts=uopts@UIOpts{cliopts_=copts@CliOpts{reportspec_=rspec@ReportSpec{rsOpts=ropts}}}} = ui{aopts=uopts{cliopts_=copts{reportspec_=rspec{rsOpts=ropts{ - value_ = plog "toggling value mode to" $ valuationToggleValue $ value_ ropts}}}}} + value_ = valuationToggleValue $ value_ ropts}}}}} -- | Basic toggling of -V, for hledger-ui. valuationToggleValue :: Maybe ValuationType -> Maybe ValuationType