Skip to content

Commit

Permalink
PartDesign: [skip ci] fixes #4254: Crash when canceling duplicate ske…
Browse files Browse the repository at this point in the history
…tch in PartDesign
  • Loading branch information
wwmayer committed Mar 24, 2020
1 parent 115d4b0 commit 107831e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/PartDesign/Gui/CommandBody.cpp
Expand Up @@ -662,7 +662,8 @@ void CmdPartDesignDuplicateSelection::activated(int iMsg)
}

// Adjust visibility of features
FCMD_OBJ_SHOW(newFeatures.back());
if (!newFeatures.empty())
FCMD_OBJ_SHOW(newFeatures.back());
}

updateActive();
Expand Down

0 comments on commit 107831e

Please sign in to comment.