Changeset 6104 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java
- Timestamp:
- 2013-08-03T00:12:29+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java
r6093 r6104 391 391 protected void setContentVisible(boolean visible) { 392 392 Component[] comps = getComponents(); 393 for (int i=0; i<comps.length; i++) {394 if (comp s[i] != titleBar && (!visible || comps[i]!= buttonsPanel || buttonHiding != ButtonHiddingType.ALWAYS_HIDDEN)) {395 comp s[i].setVisible(visible);393 for (Component comp : comps) { 394 if (comp != titleBar && (!visible || comp != buttonsPanel || buttonHiding != ButtonHiddingType.ALWAYS_HIDDEN)) { 395 comp.setVisible(visible); 396 396 } 397 397 }
Note:
See TracChangeset
for help on using the changeset viewer.