diff --git a/src/org/openstreetmap/josm/gui/dialogs/DialogsPanel.java b/src/org/openstreetmap/josm/gui/dialogs/DialogsPanel.java
index 0f700f8..1e30b81 100644
|
a
|
b
|
import org.openstreetmap.josm.gui.widgets.MultiSplitLayout.Split;
|
| 16 | 16 | import org.openstreetmap.josm.gui.widgets.MultiSplitPane; |
| 17 | 17 | import org.openstreetmap.josm.tools.CheckParameterUtil; |
| 18 | 18 | import org.openstreetmap.josm.tools.Destroyable; |
| | 19 | import org.openstreetmap.josm.tools.bugreport.BugReport; |
| 19 | 20 | |
| 20 | 21 | /** |
| 21 | 22 | * This is the panel displayed on the right side of JOSM. It displays a list of panels. |
| … |
… |
public class DialogsPanel extends JPanel implements Destroyable {
|
| 322 | 323 | @Override |
| 323 | 324 | public void destroy() { |
| 324 | 325 | for (ToggleDialog t : allDialogs) { |
| 325 | | t.destroy(); |
| | 326 | try { |
| | 327 | t.destroy(); |
| | 328 | } catch (RuntimeException e) { |
| | 329 | throw BugReport.intercept(e).put("dialog", t).put("dialog-class", t.getClass()); |
| | 330 | } |
| 326 | 331 | } |
| 327 | 332 | } |
| 328 | 333 | |
diff --git a/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java b/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java
index 6c1454f..c10b892 100644
|
a
|
b
|
public class ToggleDialog extends JPanel implements ShowHideButtonListener, Help
|
| 308 | 308 | showNotify(); |
| 309 | 309 | } |
| 310 | 310 | } |
| | 311 | |
| | 312 | @Override |
| | 313 | public String toString() { |
| | 314 | return "ToggleDialogAction [" + ToggleDialog.this.toString() + "]"; |
| | 315 | } |
| | 316 | |
| 311 | 317 | } |
| 312 | 318 | |
| 313 | 319 | /** |