Changeset 3567 in josm
- Timestamp:
- 2010-09-28T11:38:44+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSearchDialog.java
r3408 r3567 12 12 import java.awt.event.KeyAdapter; 13 13 import java.awt.event.KeyEvent; 14 import java.awt.event.MouseAdapter; 15 import java.awt.event.MouseEvent; 14 16 import java.util.ArrayList; 15 17 import java.util.Collection; … … 255 257 lsResult.setModel(lsResultModel); 256 258 lsResult.setCellRenderer(new ResultListCellRenderer()); 259 lsResult.addMouseListener(new MouseAdapter() { 260 @Override 261 public void mouseClicked(MouseEvent e) { 262 if (e.getClickCount()>1) { 263 buttonAction(0, null); 264 } 265 } 266 }); 257 267 content.add(new JScrollPane(lsResult), BorderLayout.CENTER); 258 268 … … 279 289 ckSearchInTags = new JCheckBox(); 280 290 ckSearchInTags.setText(tr("Search in tags")); 291 ckSearchInTags.setSelected(true); 281 292 ckSearchInTags.addItemListener(new ItemListener() { 282 293 @Override
Note:
See TracChangeset
for help on using the changeset viewer.