Skip to content

Commit

Permalink
Fixed error inspecting changeLeft and changeRight. Refs #457
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Dec 20, 2024
1 parent f926ef6 commit ebcfdbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/netedit/frames/GNEAttributesEditorRow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ GNEAttributesEditorRow::showAttributeRow(const GNEAttributeProperties& attrPrope
showAttributeReparent(attributeEnabled);
} else if ((myAttribute == SUMO_ATTR_TYPE) && tagProperty.hasTypeParent()) {
showAttributeInspectParent(attrProperty, attributeEnabled);
} else if (myAttribute == SUMO_ATTR_ALLOW) {
} else if (attrProperty.isVClass() && (myAttribute != SUMO_ATTR_DISALLOW)) {
showAttributeVClass(attrProperty, attributeEnabled);
} else if (myAttribute == SUMO_ATTR_COLOR) {
showAttributeColor(attrProperty, attributeEnabled);
Expand All @@ -197,7 +197,7 @@ GNEAttributesEditorRow::showAttributeRow(const GNEAttributeProperties& attrPrope
// continue depending of type of attribute
if (attrProperty.isBool()) {
showValueCheckButton(value, attributeEnabled, computedAttribute);
} else if (attrProperty.isDiscrete() || attrProperty.isVType()) {
} else if (!attrProperty.isVClass() && (attrProperty.isDiscrete() || attrProperty.isVType())) {
showValueComboBox(attrProperty, value, attributeEnabled, computedAttribute);
} else {
showValueString(value, attributeEnabled, computedAttribute);
Expand Down

0 comments on commit ebcfdbb

Please sign in to comment.