Changeset 8426 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2015-05-26T01:37:50+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SessionSaveAsAction.java
r8404 r8426 239 239 JLabel lbl = new JLabel(layer.getName(), layer.getIcon(), SwingConstants.LEFT); 240 240 lbl.setToolTipText(tr("No exporter for this layer")); 241 lbl.setLabelFor(include); 241 242 lbl.setEnabled(false); 242 243 p.add(include, GBC.std()); -
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r8395 r8426 224 224 // -- prepare the combo box with the search expressions 225 225 // 226 JLabel label = new JLabel( 226 JLabel label = new JLabel(initialValues instanceof Filter ? tr("Filter string:") : tr("Search string:")); 227 227 final HistoryComboBox hcbSearchString = new HistoryComboBox(); 228 228 hcbSearchString.setText(initialValues.text); 229 229 hcbSearchString.setToolTipText(tr("Enter the search expression")); 230 // we have to reverse the history, because ComboBoxHistory will reverse it again 231 // in addElement() 230 // we have to reverse the history, because ComboBoxHistory will reverse it again in addElement() 232 231 // 233 232 List<String> searchExpressionHistory = getSearchExpressionHistory(); … … 235 234 hcbSearchString.setPossibleItems(searchExpressionHistory); 236 235 hcbSearchString.setPreferredSize(new Dimension(40, hcbSearchString.getPreferredSize().height)); 236 label.setLabelFor(hcbSearchString); 237 237 238 238 JRadioButton replace = new JRadioButton(tr("replace selection"), initialValues.mode == SearchMode.replace);
Note:
See TracChangeset
for help on using the changeset viewer.