hledger/hledger-ui/Hledger/UI
Stephen Morgan 307bd9366d ui: In TransactionScreen, set the current transaction and index in
tsInit based on the previous RegisterScreen. Use the RegisterScreen
logic for selecting the new transaction when we cannot find the existing
one.

This enables us to get rid of regenerateTransactions. There is now
different behaviour in the transaction screen when the journal is
reloaded and the transaction being viewed is no longer available, but I
have not been able to find an example which exhibits this different
behaviour. I think it is better to have consistent behaviour between the
register screen and transaction screen when determining which to select.

This corrects a bug where you had to reload twice to reset the valuation
and cost flags, due to the elimination of regenerateTransactions.
2021-07-02 10:07:03 +10:00
..
AccountsScreen.hs lib,cli,ui,web: Add check balancednoautoconversion command, which checks that 2021-06-07 18:58:58 -10:00
Editor.hs Improve editor support 2021-06-16 14:11:36 -10:00
ErrorScreen.hs lib,cli,ui,web: Add check balancednoautoconversion command, which checks that 2021-06-07 18:58:58 -10:00
Main.hs lib,cli,ui,web: Remove unused LANGUAGE pragmas. 2021-06-07 17:33:54 -10:00
RegisterScreen.hs ui: In TransactionScreen, set the current transaction and index in 2021-07-02 10:07:03 +10:00
Theme.hs lib,cli,ui,web: Remove unnecessary CPP when dropping support for GHC 8.2. 2021-06-07 17:33:54 -10:00
TransactionScreen.hs ui: In TransactionScreen, set the current transaction and index in 2021-07-02 10:07:03 +10:00
UIOptions.hs lib,cli,ui,web: Remove unused LANGUAGE pragmas. 2021-06-07 17:33:54 -10:00
UIState.hs ui: Do not log to debug.log when regenerating journal in Transaction 2021-06-30 16:07:32 -10:00
UITypes.hs ui: Use Text instead of String in RegisterScreen. 2021-06-03 23:23:54 -10:00
UIUtils.hs lib,cli,ui,web: Remove unnecessary CPP when dropping support for GHC 8.2. 2021-06-07 17:33:54 -10:00