Changeset 12630 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
- Timestamp:
- 2017-08-24T00:15:51+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
r12620 r12630 83 83 import org.openstreetmap.josm.gui.DefaultNameFormatter; 84 84 import org.openstreetmap.josm.gui.ExtendedDialog; 85 import org.openstreetmap.josm.gui.MainApplication; 85 86 import org.openstreetmap.josm.gui.PopupMenuHandler; 86 87 import org.openstreetmap.josm.gui.SideButton; … … 385 386 public void mouseClicked(MouseEvent e) { 386 387 //update highlights 387 if (Main .isDisplayingMapView()) {388 if (MainApplication.isDisplayingMapView()) { 388 389 int row = membershipTable.rowAtPoint(e.getPoint()); 389 390 if (row >= 0 && highlightHelper.highlightOnly((Relation) membershipTable.getValueAt(row, 0))) { 390 Main .map.mapView.repaint();391 MainApplication.getMap().mapView.repaint(); 391 392 } 392 393 } … … 484 485 private void editMembership(int row) { 485 486 Relation relation = (Relation) membershipData.getValueAt(row, 0); 486 Main .map.relationListDialog.selectRelation(relation);487 MainApplication.getMap().relationListDialog.selectRelation(relation); 487 488 RelationEditor.getEditor( 488 489 Main.getLayerManager().getEditLayer(),
Note:
See TracChangeset
for help on using the changeset viewer.