In Designer
- Create a layout
- Select a widget
- Switch to code
- Remove that widget
- Switch to view
=> widget is still selected although it doesn't exist
=> errors prevent from doing anything anymore in visual mode
Expected: forget selection when switching to code to prevent errors linked to the update in code mode (e.g. offset error or the one above)