Changeset 3895 in osm for applications/editors/josm/plugins/livegps
- Timestamp:
- 2007-08-03T09:34:48+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/livegps/livegps/LiveGpsPlugin.java
r3340 r3895 151 151 @Override 152 152 public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) { 153 // add dialog 154 newFrame.addToggleDialog(lgpsdialog = new LiveGpsDialog(newFrame)); 155 // connect listeners with acquirer: 156 addPropertyChangeListener(lgpsdialog); 153 if(newFrame != null) { 154 // add dialog 155 newFrame.addToggleDialog(lgpsdialog = new LiveGpsDialog(newFrame)); 156 // connect listeners with acquirer: 157 addPropertyChangeListener(lgpsdialog); 158 } 157 159 } 158 160 … … 166 168 167 169 } 170
Note:
See TracChangeset
for help on using the changeset viewer.