Jürgen Spitzmüller wrote: > Richard Heck wrote: > >> Try the patch below, then. >> > Unfortunately, it does not work for me. > Well, shoot. It's not working for me either, any more. Very strange this. For what it's worth, I haven't been able to trigger the freeze if I hide the slider altogether. Not that that's a solution. (Then again, maybe it is, if it works. We could always swap the slider for a combo box or something. Or if we're only getting the freeze when the TOC is empty, go ahead and hide it.)
By the way, look at TocWidget::setTocModel(). It enables depthSL no matter what. Shouldn't it be: depthSL->setEnabled(buttons_enabled)? Should reconnectSelectionModel() be called there if buttons_enabled = false? Unfortunately, changing the former by itself doesn't solve the problem. I think I'd better get some sleep and so can't explore this further tonight. Richard -- ================================================================== Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ ================================================================== Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto