Bug 439006

Summary: New account wizard always defaults to account type "Checkings"
Product: [Applications] kmymoney Reporter: Thomas Baumgart <tbaumgart>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.1.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.1.2
Sentry Crash Report:

Description Thomas Baumgart 2021-06-21 19:28:34 UTC
SUMMARY
If one has selected a credit card account in the accounts view and starts creating a new account, the account type is always checkings.

STEPS TO REPRODUCE
1. Select accounts view
2. Select any account with type not equal to checkings
3. Create new account

OBSERVED RESULT
Account type is checkings

EXPECTED RESULT
Account type should be the one of the selected account in step 2.
Comment 1 Thomas Baumgart 2021-06-21 19:29:31 UTC
Git commit 099f342d54d8967e1d3db1660b869d5a092b12aa by Thomas Baumgart.
Committed on 21/06/2021 at 19:29.
Pushed by tbaumgart into branch '5.1'.

Use account type of current selected account for new ones
FIXED-IN: 5.1.2

M  +1    -0    kmymoney/views/kaccountsview.cpp

https://invent.kde.org/office/kmymoney/commit/099f342d54d8967e1d3db1660b869d5a092b12aa