Commit 5a09ccff authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix crash on close

parent 9ffe8614
......@@ -1392,12 +1392,10 @@ Bin::~Bin()
blockSignals(true);
m_proxyModel->selectionModel()->blockSignals(true);
setEnabled(false);
delete m_propertiesDock;
m_propertiesPanel = nullptr;
abortOperations();
m_itemModel->clean();
} else {
qDebug()<<":::::: CLOSING SECONDARY BIN\n\n:::::::::::::::::::";
blockSignals(true);
setEnabled(false);
m_proxyModel->selectionModel()->blockSignals(true);
......
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