Changeset 725 in josm for trunk


Ignore:
Timestamp:
2008-07-17T17:01:51+02:00 (16 years ago)
Author:
stoecker
Message:

automatically select single tag on edit. Fixes #471

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/PropertiesDialog.java

    r724 r725  
    510510                                        add();
    511511                                else if (e.getActionCommand().equals("Edit")) {
     512                                        if(propertyTable.getRowCount() == 1)
     513                                                sel = 0;
    512514                                        if (sel == -1)
    513515                                                JOptionPane.showMessageDialog(Main.parent, tr("Please select the row to edit."));
Note: See TracChangeset for help on using the changeset viewer.