When using the map editor if you use the filter capability to locate and display all entries with a given string e.g "MapAccount NOT found", select all displayed entries with Ctrl-A and then use the Delete button, all of the data is deleted not just the data that has been displayed by the filter. This implies that the Ctrl-A action is selecting all records in the treeview and not just those matching the filter.
That's an interesting observation, nor sure I had tested that. The problem is if you do a filter, all the parent rows are shown with empty rows so a Ctrl-A selects all rows and when you use the delete button. So what to do... A possible solution is to hide the parent row if doing a filter so it can not be selected. Will have a look.
OK I have a fix for this locally, what it does is if there is some filter text, the parent rows can not be selected, if no text then they can be selected so you can delete all entries for source account, I have used a select function similar to what you used for imports. A quick question, if you have entered a filter, pressed the 'Filter' button, what should have the keyboard focus, the tree view, filter text or leave as is on the button?
I have pushed my fix to maint so will be fixed in the next release. If you can check and report back that would be great.
I would have thought either leaving the focus on the filter button or shifting it back to the treeview would be appropriate. the focus will shift once you select something in the treview in any case. I haven't been working on the code much lately - got committed to updating the import documentation. I'll drag myself away and build maint and see how it looks.
Hi David, Had a chance to test this yet? You might like to test the latest master version as that has changed considerably.
Hi Chris That works fine now and only deletes the selected rows. Thanks David