...
Workaround for Qt bug where toggling the ToC would unregister for ToC events