gnucash stable: [c++options]Dirty and changed are different.

John Ralls jralls at code.gnucash.org
Tue Jun 20 17:53:26 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/b041a766 (commit)
	from  https://github.com/Gnucash/gnucash/commit/08d083e8 (commit)



commit b041a766901da386b5e2967bed14bd44a5ff696d
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Jun 20 14:50:42 2023 -0700

    [c++options]Dirty and changed are different.
    
    Report options need to be saved when they're different from the
    defaults, book options need to be saved when their value changes
    regardless of whether it's the default value. That's dirty. Implement
    it.



Summary of changes:
 libgnucash/engine/gnc-option-impl.cpp |  5 +++++
 libgnucash/engine/gnc-option-impl.hpp | 40 ++++++++++++++++++++++++++++++++++-
 libgnucash/engine/gnc-option.cpp      | 17 +++++++++++++++
 libgnucash/engine/gnc-option.hpp      |  5 +++++
 libgnucash/engine/gnc-optiondb.cpp    |  5 +++--
 5 files changed, 69 insertions(+), 3 deletions(-)



More information about the gnucash-patches mailing list