Changeset 1298 in josm for trunk/src


Ignore:
Timestamp:
2009-01-18T21:23:25+01:00 (16 years ago)
Author:
ulfl
Message:

select the relation on the map if selected something in the relation properties area

File:
1 edited

Legend:

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

    r1294 r1298  
    278278            }
    279279        });
     280        ListSelectionModel lsm2 = propertyTable.getSelectionModel();
     281        lsm2.addListSelectionListener(new ListSelectionListener() {
     282            @Override public void valueChanged(ListSelectionEvent e) {
     283                Main.ds.setSelected(RelationEditor.this.relation);
     284            }
     285        });
    280286        propertyTable.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE);
    281287
Note: See TracChangeset for help on using the changeset viewer.