Bug 451338 - The Yes/No modal dialog shown if "Clear All" is pressed in Split Editor is redundant
Summary: The Yes/No modal dialog shown if "Clear All" is pressed in Split Editor is re...
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: ux-ui (show other bugs)
Version: 5.1.2
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-09 20:44 UTC by Dawid Wróbel
Modified: 2022-03-09 20:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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"