Abdelrazak Younes wrote:
Bernhard Roider wrote:
Hello,
i found a crash when one of the buttons in the TOC dialog is pressed
if the TOC is empty. The attached patch disables the buttons if there
are no entries in the TOC dialog. To be safe it also adds a test to
the button handler functions whether the list has entries before
accessing the one with index 0.
Hello Bernhard,
I don't know if you are planning to commit this one but I wanted to let
you know that I integrated your changes already in my local tree. I am
basically rewriting a good part of this code and I hope that it will be
ready soon.
Until now it's up to you and others to commit the patch - and if you rework that part i'm fine with
that. Does your rework mean that typing in the section header is committed to the TocBackend
immediately (Bug 3183)?
Bernhard
- Re: [Patch] TOC Dialog crashes with empty toc list Bernhard Roider
-