Changeset 13535 in josm
- Timestamp:
- 2018-03-17T01:26:16+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/VersionInfoPanel.java
r13130 r13535 60 60 private final OpenChangesetDialogAction changesetDialogAction = new OpenChangesetDialogAction(null); 61 61 private final JButton changesetButton = new JButton(changesetDialogAction); 62 private final BasicArrowButton arrowButton = new BasicArrowButton(BasicArrowButton.SOUTH); 62 63 private JPanel pnlChangesetSource; 63 64 private JPanel pnlChangesetImageryUsed; … … 114 115 changesetButton.setMargin(new Insets(0, 0, 0, 2)); 115 116 changesetPanel.add(changesetButton, BorderLayout.CENTER); 116 final BasicArrowButton arrowButton = new BasicArrowButton(BasicArrowButton.SOUTH);117 117 arrowButton.addActionListener(action -> { 118 if (changesetDialogAction != null) { // fix #15444118 if (changesetDialogAction.id != null) { // fix #15444, #16097 119 119 final OpenChangesetPopupMenu popupMenu = new OpenChangesetPopupMenu(changesetDialogAction.id); 120 120 popupMenu.insert(changesetDialogAction, 0); … … 258 258 changesetDialogAction.setId(cs.getId()); 259 259 changesetButton.setEnabled(true); 260 arrowButton.setEnabled(true); 260 261 261 262 String username = ""; … … 283 284 changesetDialogAction.setId(null); 284 285 changesetButton.setEnabled(false); 286 arrowButton.setEnabled(false); 285 287 } 286 288
Note:
See TracChangeset
for help on using the changeset viewer.