Bug 478409

Summary: Toggling "Show all split details in ledger" in ledger config duplicates all splits in split transactions.
Product: [Applications] kmymoney Reporter: Jack <ostroffjh>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.2
Sentry Crash Report:

Description Jack 2023-12-11 19:48:09 UTC
Open the Configure KMyMoney.. dialog, Ledger Tab.  If a transaction is open for editing, then toggling "Show all split details in ledger" and clicking "Apply" duplicates all (one or more) category splits in the transaction.  However, saving the transaction does NOT save the extra splits, so this is apparently just a display issue (although the extra splits do show in the split editor prior to saving.)
Comment 1 Thomas Baumgart 2023-12-17 16:04:54 UTC
Git commit 5e6613f8827ac078d2e360ca915c2f1a81ecaddc by Thomas Baumgart.
Committed on 17/12/2023 at 17:04.
Pushed by tbaumgart into branch 'master'.

Prevent loading transaction editor more than once
FIXED-IN: 5.2

M  +12   -0    kmymoney/views/investtransactioneditor.cpp
M  +7    -1    kmymoney/views/newtransactioneditor.cpp

https://invent.kde.org/office/kmymoney/-/commit/5e6613f8827ac078d2e360ca915c2f1a81ecaddc