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
Account type is checkings
Account type should be the one of the selected account in step 2.
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
M +1 -0 kmymoney/views/kaccountsview.cpp