Changeset 5718 in josm for trunk/src/org
- Timestamp:
- 2013-02-15T21:02:25+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java
r5689 r5718 89 89 } catch (IllegalArgumentException e) { 90 90 // Legacy settings 91 return Boolean.parseBoolean(s)?ButtonHiddingType.DYNAMIC:ButtonHiddingType.ALWAYS_ HIDDEN;91 return Boolean.parseBoolean(s)?ButtonHiddingType.DYNAMIC:ButtonHiddingType.ALWAYS_SHOWN; 92 92 } 93 93 } … … 151 151 /** 152 152 * Constructor 153 * (see below) 153 * 154 * @param name the name of the dialog 155 * @param iconName the name of the icon to be displayed 156 * @param tooltip the tool tip 157 * @param shortcut the shortcut 158 * @param preferredHeight the preferred height for the dialog 154 159 */ 155 160 public ToggleDialog(String name, String iconName, String tooltip, Shortcut shortcut, int preferredHeight) { … … 158 163 /** 159 164 * Constructor 160 * (see below) 165 166 * @param name the name of the dialog 167 * @param iconName the name of the icon to be displayed 168 * @param tooltip the tool tip 169 * @param shortcut the shortcut 170 * @param preferredHeight the preferred height for the dialog 171 * @param defShow if the dialog should be shown by default, if there is no preference 161 172 */ 162 173 public ToggleDialog(String name, String iconName, String tooltip, Shortcut shortcut, int preferredHeight, boolean defShow) {
Note:
See TracChangeset
for help on using the changeset viewer.