From a4692a4a38012f8d3c5c27877b1115683bf66ff7 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 11 Sep 2025 09:56:42 +0100 Subject: [PATCH] fix:ui: preserve --pivot (and --obfuscate) options when reloading [#2451] --- hledger-ui/Hledger/UI/ErrorScreen.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-ui/Hledger/UI/ErrorScreen.hs b/hledger-ui/Hledger/UI/ErrorScreen.hs index ed3441696..f244b2725 100644 --- a/hledger-ui/Hledger/UI/ErrorScreen.hs +++ b/hledger-ui/Hledger/UI/ErrorScreen.hs @@ -148,7 +148,7 @@ uiReloadJournal :: CliOpts -> Day -> UIState -> IO UIState uiReloadJournal copts d ui = do ej <- let copts' = enableForecastPreservingPeriod ui copts - in runExceptT $ journalReload copts' + in runExceptT $ journalTransform copts' <$> journalReload copts' -- dbg1IO "uiReloadJournal before reload" (map tdescription $ jtxns $ ajournal ui) return $ case ej of Right j ->