Fix crash. Close a project with a selected linkable element (master, slave, report) cause a crash

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4992 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2017-07-20 12:40:30 +00:00
parent 9fdcf1a4ad
commit 4c56ebf353
3 changed files with 15 additions and 10 deletions

View File

@@ -52,7 +52,7 @@ void PropertiesEditorDockWidget::clear()
{
m_editor_list.removeOne(editor);
ui->m_main_vlayout->removeWidget(editor);
editor->deleteLater();
delete editor;
}
m_editor_list.clear();