ProjectExplorerTree: Fix node not being selected

Task-number: QTCREATORBUG-11782
Change-Id: Ib37a4801b15a7420dedbb3e504fa1d25adc75912
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>