Created attachment 187934 [details] screenshots etc showing undo entry issue SUMMARY In a credit card account if I delete a “Charge” entry, and then using the toolbar “Undo” button, I am expecting the account to be the same as before the deletion. This does not appear to be the case as when I use the “Undo” button two entries are created, a “Charge” and a “Credit”. However, if I now now save the KMyMoney account file the unexpected “Credit” entry disappears and all is as expected. The behaviour can be shown in a simple account setup. I will attach a pdf showing screenshots. STEPS TO REPRODUCE 1. Create a credit card account with a few entries 2. Delete a "Charge" entry 3. Using the toolbar "Undo" button to restore the deleted "Charge" entry OBSERVED RESULT After the "Undo" action two entries are created, a "Charge" and a "Payment" EXPECTED RESULT I was only expecting the deleted "Charge" payment to be be created. Also note if I save the KMyMoney account file the unexpected "Payment" entry disappears. SOFTWARE/OS VERSIONS Windows 11 Ubuntu 24.04 using AppImage ADDITIONAL INFORMATION I will attach a pdf showing screenshots.
Note: this one only shows in KF6/Qt6. On KF5/Qt5 KMyMoney works as expected.