Fix handling of current node if project tree view is hidden
I'm not 100% sure that this fixes the crash from QTCREATORBUG-12876.
But it's clearly wrong to only check for removed nodes in the project
tree widget and thus only if a tree widget is shown.
Task-number: QTCREATORBUG-12876
Change-Id: Iaaafcef0fe408e8bc2f4d2b61133f4419a612d57
Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
Showing
Please register or sign in to comment