- Timestamp:
- 2017-10-17T21:13:25+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/VersionInfoPanel.java
r12871 r13014 116 116 final BasicArrowButton arrowButton = new BasicArrowButton(BasicArrowButton.SOUTH); 117 117 arrowButton.addActionListener(action -> { 118 final OpenChangesetPopupMenu popupMenu = new OpenChangesetPopupMenu(changesetDialogAction.id); 119 popupMenu.insert(changesetDialogAction, 0); 120 ((AbstractButton) popupMenu.getComponent(0)).setText(tr("Open Changeset Manager")); 121 popupMenu.show(arrowButton); 118 if (changesetDialogAction != null) { // fix #15444 119 final OpenChangesetPopupMenu popupMenu = new OpenChangesetPopupMenu(changesetDialogAction.id); 120 popupMenu.insert(changesetDialogAction, 0); 121 ((AbstractButton) popupMenu.getComponent(0)).setText(tr("Open Changeset Manager")); 122 popupMenu.show(arrowButton); 123 } 122 124 }); 123 125 changesetPanel.add(arrowButton, BorderLayout.EAST);
Note:
See TracChangeset
for help on using the changeset viewer.