Changeset 3666 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2010-11-21T00:46:06+01:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapFrame.java
r3632 r3666 459 459 mapMode.enterMode(); 460 460 } 461 // invalidate repaint cache 462 Main.map.mapView.preferenceChanged(null); 461 463 } 462 464 -
trunk/src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java
r3664 r3666 21 21 22 22 import javax.swing.AbstractAction; 23 import javax.swing.Action; 23 24 import javax.swing.DefaultCellEditor; 24 25 import javax.swing.DefaultListSelectionModel; … … 36 37 import javax.swing.ListSelectionModel; 37 38 import javax.swing.UIManager; 39 import javax.swing.event.ListDataEvent; 38 40 import javax.swing.event.ListSelectionEvent; 39 41 import javax.swing.event.ListSelectionListener; … … 204 206 @Override 205 207 public void makeVisible(int row, Layer layer) { 206 System.err.println(Thread.currentThread());207 208 layerList.scrollToVisible(row, 0); 208 209 layerList.repaint(); … … 376 377 public ShowHideLayerAction(Layer layer) throws IllegalArgumentException { 377 378 this(); 379 putValue(NAME, tr("Show/Hide")); 378 380 CheckParameterUtil.ensureParameterNotNull(layer, "layer"); 379 381 this.layer = layer; … … 1232 1234 */ 1233 1235 public ShowHideLayerAction createShowHideLayerAction() { 1234 return new ShowHideLayerAction(); 1236 ShowHideLayerAction act = new ShowHideLayerAction(); 1237 act.putValue(Action.NAME, tr("Show/Hide")); 1238 return act; 1235 1239 } 1236 1240
Note:
See TracChangeset
for help on using the changeset viewer.