gnucash stable: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Sat May 4 20:22:41 EDT 2024
Updated via https://github.com/Gnucash/gnucash/commit/a53ed8f5 (commit)
via https://github.com/Gnucash/gnucash/commit/c10af4eb (commit)
from https://github.com/Gnucash/gnucash/commit/6642f4fb (commit)
commit a53ed8f501bd87b3b9c5b10bd2cb4284bb685db4
Merge: 6642f4fb8a c10af4ebb0
Author: John Ralls <jralls at ceridwen.us>
Date: Sat May 4 17:18:44 2024 -0700
Merge Steve Bruniges's 'feature/pricedb-add-clone-from-latest' into stable
commit c10af4ebb05a585c51bf0b5dfdb1c752d9428c62
Author: Stephan Brunner <s.brunner at stephan-brunner.net>
Date: Tue Apr 30 20:40:10 2024 +0200
[dialog-price-edit-db.cpp] Copy the latest price when creating a new entry from a commodity selection
When a price entry is selected, it's contents get copied 1:1 to the newly created price to facilitate faster entry based on existing values (e.g. the type).
When selecting a commodity instead, the user is presented with an empty price entry where only the commodity is set.
IMO the user ends up with the same values (except the price of course) as the latest entry.
So we check whether we have a (latest) entry and use that as the template, so that e.g. the type gets copied, too.
This spares the user some clicks.
Summary of changes:
gnucash/gnome/dialog-price-edit-db.cpp | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
More information about the gnucash-patches
mailing list