Changeset 3186 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java
- Timestamp:
- 2010-04-15T19:41:04+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java
r3178 r3186 44 44 * This class is a toggle dialog that can be turned on and off. 45 45 * 46 *47 46 */ 48 47 public class ToggleDialog extends JPanel implements Helpful { … … 147 146 hideDialog(); 148 147 dialogsPanel.reconstruct(Action.ELEMENT_SHRINKS, null); 149 hideNotify();150 148 } else { 151 149 showDialog(); … … 156 154 dialogsPanel.reconstruct(Action.INVISIBLE_TO_DEFAULT, ToggleDialog.this); 157 155 } 158 showNotify();159 156 } 160 157 } … … 181 178 toggleAction.putValue("selected", false); 182 179 toggleAction.putValue("selected", true); 180 showNotify(); 183 181 } 184 182 … … 213 211 setIsShowing(false); 214 212 toggleAction.putValue("selected", false); 213 hideNotify(); 215 214 } 216 215 … … 394 393 hideDialog(); 395 394 dialogsPanel.reconstruct(Action.ELEMENT_SHRINKS, null); 396 hideNotify();397 395 } 398 396 } … … 434 432 } else { 435 433 hideDialog(); 436 hideNotify();437 434 } 438 435 }
Note:
See TracChangeset
for help on using the changeset viewer.