- Timestamp:
- 2016-01-30T15:35:07+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/display/ColorPreference.java
r9223 r9686 10 10 import java.awt.event.ActionEvent; 11 11 import java.awt.event.ActionListener; 12 import java.awt.event.MouseAdapter; 13 import java.awt.event.MouseEvent; 12 14 import java.util.ArrayList; 13 15 import java.util.HashMap; … … 221 223 } 222 224 }; 225 colors.addMouseListener(new MouseAdapter() { 226 @Override 227 public void mousePressed(MouseEvent me) { 228 if (me.getClickCount() == 2) { 229 colorEdit.doClick(); 230 } 231 } 232 }); 223 233 colors.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); 224 234 final TableCellRenderer oldColorsRenderer = colors.getDefaultRenderer(Object.class);
Note:
See TracChangeset
for help on using the changeset viewer.