Changeset 3766 in osm for applications/editors/josm/plugins/navigator
- Timestamp:
- 2007-07-27T00:20:19+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/navigator/src/at/dallermassl/josm/plugin/navigator/NavigatorPlugin.java
r3749 r3766 63 63 */ 64 64 @Override 65 public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) { 66 newFrame.toolBarActions.add( 67 new IconToggleButton(new NavigatorModeAction(newFrame, navigatorModel, navigatorLayer))); 65 public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) { 66 if(newFrame != null) { 67 newFrame.toolBarActions.add( 68 new IconToggleButton(new NavigatorModeAction(newFrame, navigatorModel, navigatorLayer))); 69 } 68 70 } 69 71
Note:
See TracChangeset
for help on using the changeset viewer.