Fixed wrong log-windows indexing after toggling them on/off (and hence changing appearence order) (bug #12842)
The bug is still here for Logger (but it works for NonLogger).
Example:
_ Launch CB (with ThreadSearch, ToDo and Script console)
_ the order of the Loggers is 1.ThreadSearch 2.ToDO 3.Script
_ Disable the ThreadSearch window (View Menu->ThreadSearch to give it the focus, then View Menu->ThreadSerch to disable the window)
_ Reenable it
_ the order is now 1.ToDo 2.Script 3.ThreadSearch
_ everything is ok now for the ThreadSearch window (so the patch works
)
_ but when I click on View Menu->ToDo, the script console receive the focus :?