Commit 48ccce51 authored by Christoffer Ackelman's avatar Christoffer Ackelman

QT: Fix ge attr not closing correctly when open while deleting the associated object.

parent 4763c677
......@@ -197,7 +197,7 @@ void AttrQtWidget::closeEvent(QCloseEvent* event)
} else {
delete attr;
}
QWidget::closeEvent(event);
event->ignore();
}
void AttrQtWidget::focusInEvent(QFocusEvent* event)
......@@ -443,4 +443,8 @@ AttrQt::~AttrQt()
delete original_data;
}
delete (AttrNavQt*)attrnav;
if (!embedded) {
delete toplevel;
}
}
Markdown is supported
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