mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user