+ fix crash in ViewProviderPad::onDelete
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5032 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
@@ -127,7 +127,7 @@ bool ViewProviderPad::onDelete(const std::vector<std::string> &)
|
||||
// if abort command deleted the object the support is visible again
|
||||
if (pcSketch && Gui::Application::Instance->getViewProvider(pcSketch))
|
||||
Gui::Application::Instance->getViewProvider(pcSketch)->show();
|
||||
if(pcPad && Gui::Application::Instance->getViewProvider(pcSupport))
|
||||
if (pcSupport && Gui::Application::Instance->getViewProvider(pcSupport))
|
||||
Gui::Application::Instance->getViewProvider(pcSupport)->show();
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user