SUMMARY You can delete a split if you press a Del button on the keyboard, but a corresponding UI button is missing. STEPS TO REPRODUCE 1. Edit a split OBSERVED RESULT There's no "Delete split" button EXPECTED RESULT "Delete split" button should be present.
Created attachment 139529 [details] The differences in dialog between macOS and Linux Both macOS and Linux have Delete button missing, and interestingly have different placement of the buttons (probably a Qt applying platform-specific UI/UX rules).
The "Delete" (Clear) button is present in the code and the .ui form file, but otherwise note visible in the app. Same with "New" button.
OK, I see that we have ksplittransactiondlg.ui and splitdialog.ui, both of which look very similar. Why do we need both?
On Linux, in the Split Dialog I see both a "Clear All" button and a "Clear Zero" button. The latter is perhaps badly worded, but it does remove the selected split. Perhaps the label could be changed from "Clear Zero" to "Clear Split"?
Jack, "Clear Zero" clears those that have amount equal to 0. But what is missing is a button that will allow to delete a single row – which is available under right click menu.
For the record, that button is missing only in 5.1, which uses ksplittransactiondlg.ui. Master apparently uses splitdialog.ui, and that actually already has a "Delete" (single split) button.
ksplittransactiondlg.ui will eventually be removed (it contains the code based on the old register). splitdialog.ui is used by the new editor code. The context menu contains the delete function for the selected split(s). I am not sure if we should worry too much about it here since we want to get rid of this anyway. I would want to know how that button arrangement difference looks like in master, though.