- Timestamp:
- 2017-06-08T23:11:17+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r12345 r12346 42 42 import org.openstreetmap.josm.actions.ActionParameter; 43 43 import org.openstreetmap.josm.actions.ActionParameter.SearchSettingsActionParameter; 44 import org.openstreetmap.josm.actions.ExpertToggleAction; 44 45 import org.openstreetmap.josm.actions.JosmAction; 45 46 import org.openstreetmap.josm.actions.ParameterizedAction; … … 299 300 additionalSettings.add(caseSensitive, GBC.eol().anchor(GBC.WEST).fill(GBC.HORIZONTAL)); 300 301 301 if (Main.pref.getBoolean("expert", false)) { 302 left.add(selectionSettings, GBC.eol().fill(GBC.BOTH)); 303 left.add(additionalSettings, GBC.eol().fill(GBC.BOTH)); 304 305 if (ExpertToggleAction.isExpert()) { 302 306 additionalSettings.add(allElements, GBC.eol()); 303 307 additionalSettings.add(addOnToolbar, GBC.eop()); … … 309 313 searchOptions.add(mapCSSSearch, GBC.eol()); 310 314 311 left.add(selectionSettings, GBC.eol().fill(GBC.BOTH));312 left.add(additionalSettings, GBC.eol().fill(GBC.BOTH));313 315 left.add(searchOptions, GBC.eol().fill(GBC.BOTH)); 314 } else {315 left.add(selectionSettings, GBC.eol().fill(GBC.BOTH));316 left.add(additionalSettings, GBC.eol().fill(GBC.BOTH));317 316 } 318 317 … … 450 449 GBC.eol()); 451 450 452 if ( Main.pref.getBoolean("expert", false)) {451 if (ExpertToggleAction.isExpert()) { 453 452 hintPanel.add(new SearchKeywordRow(hcbSearchString) 454 453 .addTitle(tr("objects"))
Note:
See TracChangeset
for help on using the changeset viewer.