We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5c5355 commit 8eef0deCopy full SHA for 8eef0de
src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java
@@ -198,14 +198,13 @@ public String getModeHelpText() {
198
// TODO: add more detailed feedback based on modifier state.
199
// TODO: dynamic messages based on preferences. (Could be problematic translation wise)
200
switch (mode) {
201
- case NORMAL:
+ if (mode == NORMAL) {
202
// CHECKSTYLE.OFF: LineLength
203
return tr("Select ways as in Select mode. Drag selected ways or a single way to create a parallel copy (Alt toggles tag preservation)");
204
// CHECKSTYLE.ON: LineLength
205
- case DRAGGING:
+ } else { // mode == DRAGGING
206
return tr("Hold Ctrl to toggle snapping");
207
}
208
- return ""; // impossible ..
209
210
211
@Override
0 commit comments