We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 439504d commit 3172be7Copy full SHA for 3172be7
src/org/openstreetmap/josm/gui/dialogs/relation/RelationEditor.java
@@ -152,8 +152,8 @@ public final boolean isDirtyRelation() {
152
153
@Override
154
public final boolean isDirtyRelation(boolean ignoreUninterestingTags) {
155
- if (relation != null && relation.getDataSet() == null &&
156
- relationSnapshot != null && relationSnapshot.getDataSet() == null) {
+ if (relation == null || relation.getDataSet() == null ||
+ relationSnapshot == null || relationSnapshot.getDataSet() == null) {
157
return false;
158
}
159
0 commit comments