Bug 458551

Summary: When editing splits, automatically pre-fill the amount with the remaining balance
Product: [Applications] kmymoney Reporter: Dawid Wróbel <me>
Component: ux-uiAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In: 5.1.90
Sentry Crash Report:

Description Dawid Wróbel 2022-08-31 13:59:11 UTC
SUMMARY
When editing splits, it would be convenient if the amounts were pre-filled with the remaining balance. So, e.g., when editing first split, the amount would be filled with a total amount. If that balance was edited manually (e.g. halved by typing '/2' on the keyboard), the next split would be pre-filled with the remaining amount. 

This is how GnuCash does it and it speeds up split editing dramatically.
Comment 1 Thomas Baumgart 2022-09-04 09:37:27 UTC
Git commit c4f9d792060067610860595406fb03136f83e23d by Thomas Baumgart.
Committed on 04/09/2022 at 09:36.
Pushed by tbaumgart into branch 'master'.

Pre-fill unassigned amount to new split

M  +1    -0    kmymoney/mymoney/mymoneyenums.h
M  +3    -0    kmymoney/mymoney/splitmodel.cpp
M  +6    -3    kmymoney/views/splitdialog.cpp
M  +31   -2    kmymoney/views/splitview.cpp
M  +3    -0    kmymoney/views/splitview.h

https://invent.kde.org/office/kmymoney/commit/c4f9d792060067610860595406fb03136f83e23d