Ignore:
Timestamp:
2006-04-21T20:05:14+02:00 (18 years ago)
Author:
imi
Message:
  • fixed that toggle dialog buttons are sync with the dialogs
  • added search for timestamp (e.g. timestamp:06-3-25)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/actions/mapmode/AddWayAction.java

    r86 r90  
    7272               
    7373                if (numberOfSelectedWays > 0) {
    74                         String ways = "way" + (numberOfSelectedWays==1?"":"s");
    75                         int answer = JOptionPane.showConfirmDialog(Main.main, numberOfSelectedWays+" "+ways+" have been selected.\n" +
     74                        String ways = "way" + (numberOfSelectedWays==1?" has":"s have");
     75                        int answer = JOptionPane.showConfirmDialog(Main.main, numberOfSelectedWays+" "+ways+" been selected.\n" +
    7676                                        "Do you wish to select all segments belonging to the "+ways+" instead?");
    7777                        if (answer == JOptionPane.CANCEL_OPTION)
     
    8383                        }
    8484                }
     85               
     86                if (segments.isEmpty())
     87                        return;
    8588               
    8689                // sort the segments in best possible order. This is done by:
Note: See TracChangeset for help on using the changeset viewer.