- Timestamp:
- 2021-01-11T11:54:27+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/InspectPrimitiveDialog.java
r16950 r17455 56 56 public class InspectPrimitiveDialog extends ExtendedDialog { 57 57 58 protected transient List<IPrimitive> primitives;59 58 private boolean mappaintTabLoaded; 60 59 private boolean editcountTabLoaded; … … 68 67 public InspectPrimitiveDialog(final Collection<? extends IPrimitive> primitives, OsmData<?, ?, ?, ?> data) { 69 68 super(MainApplication.getMainFrame(), tr("Advanced object info"), tr("Close")); 70 this.primitives = new ArrayList<>(primitives);71 69 setRememberWindowGeometry(getClass().getName() + ".geometry", 72 70 WindowGeometry.centerInWindow(MainApplication.getMainFrame(), new Dimension(750, 550))); … … 75 73 final JTabbedPane tabs = new JTabbedPane(); 76 74 77 tabs.addTab(tr("data"), genericMonospacePanel(new JPanel(), buildDataText(data, this.primitives)));75 tabs.addTab(tr("data"), genericMonospacePanel(new JPanel(), buildDataText(data, new ArrayList<>(primitives)))); 78 76 79 77 final JPanel pMapPaint = new JPanel();
Note:
See TracChangeset
for help on using the changeset viewer.