| 1 | ### Eclipse Workspace Patch 1.0
|
|---|
| 2 | #P JMapViewer
|
|---|
| 3 | Index: src/org/openstreetmap/gui/jmapviewer/JMapViewerTree.java
|
|---|
| 4 | ===================================================================
|
|---|
| 5 | --- src/org/openstreetmap/gui/jmapviewer/JMapViewerTree.java (revision 36494)
|
|---|
| 6 | +++ src/org/openstreetmap/gui/jmapviewer/JMapViewerTree.java (working copy)
|
|---|
| 7 | @@ -88,7 +88,7 @@
|
|---|
| 8 | if (layer.isVisibleTexts() == null) {
|
|---|
| 9 | popup.add(menuItemShow);
|
|---|
| 10 | popup.add(menuItemHide);
|
|---|
| 11 | - } else if (layer.isVisibleTexts()) popup.add(menuItemHide);
|
|---|
| 12 | + } else if (Boolean.TRUE.equals(layer.isVisibleTexts())) popup.add(menuItemHide);
|
|---|
| 13 | else popup.add(menuItemShow);
|
|---|
| 14 |
|
|---|
| 15 | menuItemShow.addActionListener(e -> {
|
|---|
| 16 |
|
|---|