gnucash stable: Bug 799084 - Unable to create new scheduled transaction
John Ralls
jralls at code.gnucash.org
Fri Sep 22 16:09:16 EDT 2023
Updated via https://github.com/Gnucash/gnucash/commit/1a78f82a (commit)
from https://github.com/Gnucash/gnucash/commit/2a12772b (commit)
commit 1a78f82a837e798595d63d623b4dfc7625b8c0fe
Author: John Ralls <jralls at ceridwen.us>
Date: Fri Sep 22 13:07:55 2023 -0700
Bug 799084 - Unable to create new scheduled transaction
gnc_split_register_save(reg, FALSE) is a no-op. Use
gnc_sxed_reg_check_close instead to ensure that there are splits to
check before trying to check them.
diff --git a/gnucash/gnome/dialog-sx-editor.c b/gnucash/gnome/dialog-sx-editor.c
index ec63d3e448..a85b84ab4c 100644
--- a/gnucash/gnome/dialog-sx-editor.c
+++ b/gnucash/gnome/dialog-sx-editor.c
@@ -826,9 +826,7 @@ gnc_sxed_check_consistent (GncSxEditorDialog *sxed)
* . false: indicate to user, allow decision.
*/
- /* FIXME: This is probably superfluous. */
- gnc_split_register_save (
- gnc_ledger_display_get_split_register (sxed->ledger), FALSE);
+ gnc_sxed_reg_check_close (sxed);
/* numeric-formulas-get-balanced determination */
gnc_sx_get_variables (sxed->sx, vars);
Summary of changes:
gnucash/gnome/dialog-sx-editor.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
More information about the gnucash-changes
mailing list