I found a few bugs relating to the window layout.
Here is how to reproduce.
Bug #1
1. View -> Layouts -> Save current
2. Enter a name I used Test
3. View -> Layouts -> Delete current
4. Bug happens
Bug #2
1. Make sure the Code::Blocks default layout is checked
2. View -> Layouts -> Delete current
3. Hit No
4. Hit Yes
5. View -> Layouts
6.

Fix for both of them are in one patch
here. Hey I like one liner bug fixes.

EDIT:
BTW is there any way for me to assign a patch to a specific dev?