Skip to content

Commit 61d9a36

Browse files
committed
Fix NPE when opening Mapillary filter dialog
1 parent 630f519 commit 61d9a36

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/main/java/org/openstreetmap/josm/plugins/mapillary/gui/dialog/MapillaryFilterDialog.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,18 @@
7676
*
7777
* @author nokutu
7878
*/
79+
80+
7981
public final class MapillaryFilterDialog extends ToggleDialog
8082
implements OrganizationRecordListener, UserProfile.UserProfileListener, MVTTile.TileListener {
8183

84+
@Override
85+
public void showDialog() {
86+
if (!isShowing()) {
87+
super.showDialog();
88+
}
89+
}
90+
8291
@Serial
8392
private static final long serialVersionUID = -4192029663670922103L;
8493

0 commit comments

Comments
 (0)