Changeset 10432 in josm for trunk/src/org/openstreetmap/josm/gui/MainApplication.java
- Timestamp:
- 2016-06-20T00:06:54+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r10378 r10432 317 317 initApplicationPreferences(); 318 318 319 // Can only be called after preferences are initialized. 320 // We can move this to MainPanel constructor as soon as noone depends on Main#panel any more. 321 GuiHelper.runInEDTAndWait(new Runnable() { 322 @Override 323 public void run() { 324 mainPanel.updateContent(); 325 } 326 }); 327 319 328 Policy.setPolicy(new Policy() { 320 329 // Permissions for plug-ins loaded when josm is started via webstart … … 399 408 args.containsKey(Option.GEOMETRY) ? args.get(Option.GEOMETRY).iterator().next() : null, 400 409 !args.containsKey(Option.NO_MAXIMIZE) && Main.pref.getBoolean("gui.maximized", false)); 401 final MainFrame mainFrame = new MainFrame(contentPanePrivate, geometry);410 final MainFrame mainFrame = new MainFrame(contentPanePrivate, mainPanel, geometry); 402 411 Main.parent = mainFrame; 403 412
Note:
See TracChangeset
for help on using the changeset viewer.