CanDelete is necessary for dimensions
- therefore revert commit bd0bf690b53f8355400278a127524029d225dffb. - handle balloons the same way - fix line ending in ViewProviderProjGroupItem.cpp
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
#include <Gui/Document.h>
|
||||
#include <Gui/MainWindow.h>
|
||||
|
||||
#include <Mod/TechDraw/App/DrawProjGroup.h>
|
||||
#include <Mod/TechDraw/App/DrawProjGroup.h>
|
||||
#include <Mod/TechDraw/App/DrawProjGroupItem.h>
|
||||
|
||||
#include "ViewProviderProjGroupItem.h"
|
||||
@@ -153,7 +153,7 @@ bool ViewProviderProjGroupItem::onDelete(const std::vector<std::string> &)
|
||||
bool isAnchor = false;
|
||||
|
||||
// get the item and group
|
||||
TechDraw::DrawProjGroupItem* dpgi = static_cast<TechDraw::DrawProjGroupItem*>(getViewObject());
|
||||
TechDraw::DrawProjGroupItem* dpgi = static_cast<TechDraw::DrawProjGroupItem*>(getViewObject());
|
||||
TechDraw::DrawProjGroup* dpg = dpgi->getPGroup();
|
||||
// get the projection
|
||||
TechDraw::DrawProjGroupItem* proj = getObject();
|
||||
|
||||
Reference in New Issue
Block a user