Bernhard Roider wrote:
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.

OK, thanks.

Does your rework mean that typing in the section header is committed to the TocBackend immediately (Bug 3183)?

Yes, I think it should be possible to do that; maybe not as a first step. Maybe some more candy would be possible...

Abdel.

Reply via email to