Changeset 13864 in josm
- Timestamp:
- 2018-05-29T02:10:32+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/SideButton.java
r13545 r13864 6 6 import java.awt.Insets; 7 7 import java.awt.event.ActionListener; 8 import java.beans.PropertyChangeListener;9 8 10 9 import javax.swing.AbstractAction; … … 25 24 public class SideButton extends JButton implements Destroyable { 26 25 27 private transient PropertyChangeListener propertyChangeListener;28 26 private BasicArrowButton arrowButton; 29 27 private boolean arrowEnabledWithButton; … … 127 125 } 128 126 if (action != null) { 129 if (propertyChangeListener != null) {130 action.removePropertyChangeListener(propertyChangeListener);131 }132 127 setAction(null); 133 128 }
Note:
See TracChangeset
for help on using the changeset viewer.