Bug 451338

Summary: The Yes/No modal dialog shown if "Clear All" is pressed in Split Editor is redundant
Product: [Applications] kmymoney Reporter: Dawid Wróbel <me>
Component: ux-uiAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.1.2   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dawid Wróbel 2022-03-09 20:44:15 UTC
SUMMARY
The Yes/No modal dialog shown if "Clear All" is pressed in Split Editor is redundant, since no irreversible action is being performed, as the user still has an option to click "Cancel" when editing splits and restore the previous state of the transaction.

STEPS TO REPRODUCE
1. Open a transaction with splits
2. Click "Clear All"

OBSERVED RESULT
Notice the "Do you really want to continue" dialog. 

EXPECTED RESULT
No dialog should be shown, splits should be cleared right away. User can restore them by clicking "Cancel"