Commit 6b27607f authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed crash on exit if side element toolbox is detached

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6856c933
......@@ -129,8 +129,10 @@ SideElement::SideElement (SideArea *_parent, QWidget *_w, QString _name, QIcon*
SideElement::~SideElement ()
if (dialog_)
if (dialog_) {
dialog_->close ();
widget_->setParent (0);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment