Changeset 6061 in josm
- Timestamp:
- 2013-07-10T20:56:22+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java ¶
r5970 r6061 96 96 97 97 /** The action to toggle this dialog */ 98 protected ToggleDialogAction toggleAction; 98 protected final ToggleDialogAction toggleAction; 99 99 protected String preferencePrefix; 100 100 final protected String name; … … 242 242 if (isShowing) { 243 243 hideDialog(); 244 dialogsPanel.reconstruct(Action.ELEMENT_SHRINKS, null); 244 if (dialogsPanel != null) { 245 dialogsPanel.reconstruct(Action.ELEMENT_SHRINKS, null); 246 } 245 247 hideNotify(); 246 248 } else { … … 249 251 expand(); 250 252 } 251 if (isDocked) { 253 if (isDocked && dialogsPanel != null) { 252 254 dialogsPanel.reconstruct(Action.INVISIBLE_TO_DEFAULT, ToggleDialog.this); 253 255 }
Note:
See TracChangeset
for help on using the changeset viewer.