Opened 4 years ago

Last modified 3 years ago

#21792 closed enhancement

[patch] Request focus in SplitWayAction window segment list — at Version 4

Reported by: gaben Owned by: team
Priority: trivial Milestone: 22.05
Component: Core Version:
Keywords: focus Cc:

Description (last modified by gaben)

When splitting a way in expert mode, a window appears for selecting the segment for history reuse. If you are not satisfied with the default selection (way with most nodes), currently you need to use the mouse to change it.

After adding this line, up/down keys will also be usable without further interaction to select the way, which speeds up editing.

  • src/org/openstreetmap/josm/actions/SplitWayAction.java

     
    242242                if (ds != null) {
    243243                    ds.addDataSetListener(dataSetListener);
    244244                }
     245                list.requestFocusInWindow();
    245246            } else {
    246247                if (ds != null) {
    247248                    ds.removeDataSetListener(dataSetListener);

Change History (4)

comment:1 by gaben, 4 years ago

Description: modified (diff)

comment:2 by gaben, 4 years ago

Keywords: focus added

comment:3 by gaben, 4 years ago

Milestone: 22.03

comment:4 by gaben, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.