Focus not moved when tab activated
Steps to reproduce:
- Have two diagrams files open (two tabs)
- Copy something on one tab
- Activate the other tab
- Paste
Actual result:
- The pasting is done on the inactive tab
Expected result:
- It is done on the active tab