Fix App logic in ViewProviders -> segfaults

This commit is contained in:
WandererFan
2016-04-02 12:49:52 -04:00
committed by wmayer
parent b8b6dcb30f
commit 31f0937478
5 changed files with 0 additions and 22 deletions

View File

@@ -141,16 +141,6 @@ bool ViewProviderProjGroupItem::doubleClicked(void)
return true;
}
bool ViewProviderProjGroupItem::onDelete(const std::vector<std::string> &subList)
{
Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.removeObject(\"%s\")"
,getObject()->getNameInDocument());
Gui::Command::commitCommand();
Gui::Command::updateActive();
return false;
}
TechDraw::DrawProjGroupItem* ViewProviderProjGroupItem::getObject() const
{