Projects: after changing main file of a project, tab label tooltip not updated
@swilmet
Submitted by Sébastien Wilmet Link to original bug (#786349)
Description
After changing the main file of a project, the tab label tooltip is not updated.
The code for handling projects should be re-organized.