Skip to content

Commit

Permalink
fix #14812
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed May 2, 2024
1 parent b1f15a8 commit 4b8ae89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/netedit/elements/additional/GNEPOI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,8 @@ GNEPOI::getPopUpMenu(GUIMainWindow& app, GUISUMOAbstractView& parent) {
// build selection and show parameters menu
myNet->getViewNet()->buildSelectionACPopupEntry(ret, this);
buildShowParamsPopupEntry(ret);
buildPositionCopyEntry(ret, app);
new FXMenuSeparator(ret);
// specific of non juPedSim polygons
if (!myTagProperty.isJuPedSimElement()) {
// continue depending of lane number
Expand Down
2 changes: 2 additions & 0 deletions src/netedit/elements/additional/GNEPoly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ GNEPoly::getPopUpMenu(GUIMainWindow& app, GUISUMOAbstractView& parent) {
// build selection and show parameters menu
myNet->getViewNet()->buildSelectionACPopupEntry(ret, this);
buildShowParamsPopupEntry(ret);
buildPositionCopyEntry(ret, app);
new FXMenuSeparator(ret);
FXMenuCommand* simplifyShape = GUIDesigns::buildFXMenuCommand(ret, TL("Simplify Shape"), TL("Replace current shape with a rectangle"), nullptr, &parent, MID_GNE_POLYGON_SIMPLIFY_SHAPE);
// disable simplify shape if polygon was already simplified
if (mySimplifiedShape || myShape.size() <= 2) {
Expand Down

0 comments on commit 4b8ae89

Please sign in to comment.