Fix crash when closing color panel
This commit is contained in:
parent
689fcd58d8
commit
e3b0c111be
|
@ -103,7 +103,7 @@ public:
|
|||
Connection connectDelDoc;
|
||||
Connection connectDelObj;
|
||||
|
||||
Private(ViewProviderPartExt* vp) : ui(new Ui_TaskFaceColors()), vp(vp)
|
||||
Private(ViewProviderPartExt* vp) : ui(new Ui_TaskFaceColors()), view(0), vp(vp)
|
||||
{
|
||||
obj = vp->getObject();
|
||||
doc = Gui::Application::Instance->getDocument(obj->getDocument());
|
||||
|
|
Loading…
Reference in New Issue
Block a user