Changeset 12630 in josm for trunk/src/org/openstreetmap/josm/gui/MainPanel.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/MainPanel.java
r11713 r12630 44 44 * @param showMap If the map should be displayed. 45 45 */ 46 @SuppressWarnings("deprecation") 46 47 protected synchronized void updateContent(boolean showMap) { 47 48 GuiHelper.assertCallFromEdt(); … … 65 66 map = null; 66 67 Main.map = map; 68 MainApplication.map = map; 67 69 add(getGettingStarted(), BorderLayout.CENTER); 68 70 } … … 83 85 } 84 86 87 @SuppressWarnings("deprecation") 85 88 private MapFrame createNewMapFrame() { 86 89 MapFrame mapFrame = new MapFrame(null); 87 90 // Required by many components. 88 91 Main.map = mapFrame; 92 MainApplication.map = mapFrame; 89 93 90 94 mapFrame.fillPanel(this);
Note:
See TracChangeset
for help on using the changeset viewer.