Switch tab doesn't change active canvas in window's name
MAYBE related to issues #412 (closed) and #403 (closed)
If I continue to change the active diagram (between two or more diagrams) after a while the active Diagram in the window name is not updated anymore (it is updated only as soon as I click on the canvas). I attach am example photo.
The steps to reproduce the problem are:
- Open Dia (it is created by default a Diagram1.dia)
- Create a new Diagram (with the top left button, Diagram2 will be created)
- Go back to Diagram1, then Diagram2, repeat it until the name on the top left will be different from the diagram actually clicked (after 3-4 clicks generally)
- Now a diagram is active but you see the characteristics of another one until you click on the canvas
This seems to be an "old" Dia's bug, that's why I was not able to understand the commit which originate the problem. This issue affect both Window and Linux versions.