Ignore:
Timestamp:
2006-09-30T19:05:43+02:00 (18 years ago)
Author:
imi
Message:

added "gpx" as flag to the external tool feature to also export raw gps data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/gui/dialogs/HistoryDialog.java

    r129 r143  
    7777         */
    7878        private JTable history = new JTable(data);
     79        private JScrollPane historyPane = new JScrollPane(history);
    7980
    8081        private Map<OsmPrimitive, List<HistoryItem>> cache = new HashMap<OsmPrimitive, List<HistoryItem>>();
     
    8586        public HistoryDialog() {
    8687                super(tr("History"), "history", tr("Display the history of all selected items."), KeyEvent.VK_H, 150);
    87                 history.setVisible(false);
     88                historyPane.setVisible(false);
    8889                notLoaded.setVisible(true);
    8990
     
    115116                JPanel centerPanel = new JPanel(new GridBagLayout());
    116117                centerPanel.add(notLoaded, GBC.eol().fill(GBC.BOTH));
    117                 centerPanel.add(new JScrollPane(history), GBC.eol().fill(GBC.BOTH));
     118                centerPanel.add(historyPane, GBC.eol().fill(GBC.BOTH));
    118119                add(centerPanel, BorderLayout.CENTER);
    119120
     
    160161                Collection<OsmPrimitive> sel = Main.ds.getSelected();
    161162                if (!cache.keySet().containsAll(sel)) {
    162                         history.setVisible(false);
     163                        historyPane.setVisible(false);
    163164                        notLoaded.setVisible(true);
    164165                } else {
     
    169170                        for (HistoryItem i : orderedHistory)
    170171                                data.addRow(new Object[]{i.osm, i.osm.timestamp, i.visible});
    171                         history.setVisible(true);
     172                        historyPane.setVisible(true);
    172173                        notLoaded.setVisible(false);
    173174                }
Note: See TracChangeset for help on using the changeset viewer.