Changeset 18062 in josm
- Timestamp:
- 2021-07-18T12:29:43+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java
r17307 r18062 600 600 sticky.addActionListener(e -> { 601 601 detach(); 602 dialogsPanel.reconstruct(Action.ELEMENT_SHRINKS, null); 602 if (dialogsPanel != null) { 603 dialogsPanel.reconstruct(Action.ELEMENT_SHRINKS, null); 604 } 603 605 }); 604 606 add(sticky); … … 610 612 close.addActionListener(e -> { 611 613 hideDialog(); 612 dialogsPanel.reconstruct(Action.ELEMENT_SHRINKS, null); 614 if (dialogsPanel != null) { 615 dialogsPanel.reconstruct(Action.ELEMENT_SHRINKS, null); 616 } 613 617 hideNotify(); 614 618 });
Note:
See TracChangeset
for help on using the changeset viewer.