PartDesign: [skip ci] fixes #0004254: Crash when canceling duplicate sketch in PartDesign
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user