lyx_mirror/src/frontends
Richard Heck efa0da26c8 Fix the following sort of crash, reported on the list. This is also
#6884.

1. Open LyX. File>New. Document>Outline, to make sure the TOC is open.
That isn't necessary, but it helps you to see what is happening.
2. Create a section heading (alt-P, 2) with an x in it.
3. Split the screen.
4. File>New. You should now still see the TOC for the OLD buffer.
5. Click in the top screen. You now see an empty TOC (the one for the
empty buffer).
6. Click in the empty buffer. Other TOC!
7. Back to the "x" buffer. Empty TOC. Type something. Boom!

The problem is that teh setCurrentWorkArea() call eventually gets us to
structureChanged(), which accesses documentBufferView(). But that
doesn't get reset until later, and hence everything is out of sync.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35999 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-02 15:33:52 +00:00
..
qt4 Fix the following sort of crash, reported on the list. This is also 2010-11-02 15:33:52 +00:00
tests
alert.h Extend Alert::prompt such that 4 buttons are possible. Thus, when 2010-04-19 20:44:57 +00:00
Application.h Application: get rid of 2 virtual interface. 2010-02-09 17:25:44 +00:00
Clipboard.h
Delegates.h
FontLoader.h
FontMetrics.h
KeyModifier.h
KeySymbol.h
Makefile.am Today is a sad day, LyXView has passed over... long live GuiView! 2010-02-09 17:06:40 +00:00
mouse_state.h
Painter.h use one place to adjust width of thin lines 2010-09-07 05:14:57 +00:00
Selection.h
WorkArea.h Today is a sad day, LyXView has passed over... long live GuiView! 2010-02-09 17:06:40 +00:00
WorkAreaManager.cpp Get rid of Buffer::setReadOnly() pseudo signal. 2010-01-25 13:31:07 +00:00
WorkAreaManager.h Get rid of Buffer::setReadOnly() pseudo signal. 2010-01-25 13:31:07 +00:00