#21792 closed enhancement (fixed)
[patch] Request focus in SplitWayAction window segment list
| Reported by: | gaben | Owned by: | team |
|---|---|---|---|
| Priority: | trivial | Milestone: | 22.05 |
| Component: | Core | Version: | |
| Keywords: | focus | Cc: |
Description (last modified by )
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
242 242 if (ds != null) { 243 243 ds.addDataSetListener(dataSetListener); 244 244 } 245 list.requestFocusInWindow(); 245 246 } else { 246 247 if (ds != null) { 247 248 ds.removeDataSetListener(dataSetListener);
Attachments (0)
Change History (10)
comment:1 by , 4 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 4 years ago
| Keywords: | focus added |
|---|
comment:3 by , 4 years ago
| Milestone: | → 22.03 |
|---|
comment:4 by , 4 years ago
| Description: | modified (diff) |
|---|
comment:5 by , 4 years ago
| Milestone: | 22.03 → 22.04 |
|---|
comment:6 by , 4 years ago
comment:9 by , 4 years ago
Oops, I forgot to add patch by gaben to the commit message. Sorry. :(
EDIT: And fixed. Note to self, svn propedit svn:log --revprop -r<REVISION> works.
comment:10 by , 4 years ago
Thank you for applying the patch!
BTW we had space and enter for the same purpose ;)



up