On 11/19/2010 09:23 AM, Vincent van Ravesteijn wrote:

I can't reproduce on Windows,

Make sure the cursor is in the bottom pane, i.e., in the one that has only one tab. Also, make sure the file
you are closing is dirty.

Yes, I understand, I've tried over and over. The TOC just gets updated on WinXP.

but I can on Linux. (Maybe an unitialized member or something ?)

No, I don't think that is it. The problem is that the TOC doesn't get updated.

I just want to indicate there is a difference between Linux and Windows, and I don't know how to explain that.

See attached screenshot, which is
taken after the close but before typing anything---the TOC is empty because it's for the old doc. Typing will
segfault.

On Windows, the TOC is immediately filled with the section heading.

Very odd. Can you put a breakpoint in updateDialogs() and find out why it's being called? That's what's missing on Linux. Could Qt be issuing some signal on Windows that isn't being issued on Linux?

Richard

Reply via email to