Commit 55856dd1 authored by dt's avatar dt
Browse files

Fix crash after unloading project and changing qt versions

Unloading a project must always remove the configuration widgets, since
otherwise they might be accessed after the project was deleted. So
remove them even if we have no other project widget to show.

Reviewed-By: Tobias Hunger
parent 1cefde9e
......@@ -365,8 +365,10 @@ void ProjectWindow::startupProjectChanged(ProjectExplorer::Project *p)
void ProjectWindow::showProperties(int index, int subIndex)
if (index < 0 || index >= m_tabIndexToProject.count())
if (index < 0 || index >= m_tabIndexToProject.count()) {
Project *project =;
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