Skip to content

Commit

Permalink
Fixed crash selecting Entry/exits in frame. Refs #457
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Dec 12, 2024
1 parent 149bb6a commit 3bd7116
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/netedit/frames/GNEAttributesCreator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,9 @@ GNEAttributesCreator::refreshRows(const bool createRows) {
showAttribute = false;
}
// avoid selected and row (temporal, until unification with attributesEditor)
if ((attribute.getAttr() == GNE_ATTR_SELECTED) || (attribute.getAttr() == GNE_ATTR_FRONTELEMENT)) {
if ((attribute.getAttr() == GNE_ATTR_SELECTED) ||
(attribute.getAttr() == GNE_ATTR_FRONTELEMENT) ||
(attribute.getAttr() == GNE_ATTR_PARENT)) {
showAttribute = false;
}
// check if attribute must stay hidden
Expand Down

0 comments on commit 3bd7116

Please sign in to comment.