Commit 4d61bae4 authored by dt's avatar dt
Browse files

Fixes: Crash on unloading.

parent b3e1723b
......@@ -240,8 +240,7 @@ void ProjectTreeWidget::setCurrentItem(Node *node, Project *project)
void ProjectTreeWidget::handleCurrentItemChange(const QModelIndex &current)
Node *node = m_model->nodeForIndex(current);
QTC_ASSERT(node, return);
// node might be 0. that's okay
bool autoSync = autoSynchronization();
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