lyx_mirror/src/frontends
Vincent van Ravesteijn c37bef4127 Fix (partly?) bug #6451: Crash when interacting with buffer-dependent dialog with no buffer open.
It seems to be a good idea to close all buffer-dependent dialogs when there are no more buffers open. This gives the user no opportunity to call buffer-related functions and cause a crash.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33015 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-13 20:25:17 +00:00
..
qt4 Fix (partly?) bug #6451: Crash when interacting with buffer-dependent dialog with no buffer open. 2010-01-13 20:25:17 +00:00
tests
alert.h
Application.h
Clipboard.h
Delegates.h
FontLoader.h
FontMetrics.h
KeyModifier.h
KeySymbol.h
LyXView.h No need for the new LyXView::selectDocumentBuffer() method, same thing may be done with LFUN_SWITCH_BUFFER (vfr advice). 2010-01-01 11:14:01 +00:00
Makefile.am
mouse_state.h
Painter.h
Selection.h
WorkArea.h Add a boolean to GuiWorkArea::redraw to indicate whether the metrics must be updated. The current test "lyx_view_ != guiApp->currentView() || lyx_view_->currentWorkArea() != this" is not enough, especially not if the buffer is changed and buffer->changed() is called. Moreover, there are a lot of combinations of updateMetrics() followed by buffer->changed(), these can now be replaced by one call to buffer->changed(bool). 2010-01-08 02:03:54 +00:00
WorkAreaManager.cpp Add a boolean to GuiWorkArea::redraw to indicate whether the metrics must be updated. The current test "lyx_view_ != guiApp->currentView() || lyx_view_->currentWorkArea() != this" is not enough, especially not if the buffer is changed and buffer->changed() is called. Moreover, there are a lot of combinations of updateMetrics() followed by buffer->changed(), these can now be replaced by one call to buffer->changed(bool). 2010-01-08 02:03:54 +00:00
WorkAreaManager.h Add a boolean to GuiWorkArea::redraw to indicate whether the metrics must be updated. The current test "lyx_view_ != guiApp->currentView() || lyx_view_->currentWorkArea() != this" is not enough, especially not if the buffer is changed and buffer->changed() is called. Moreover, there are a lot of combinations of updateMetrics() followed by buffer->changed(), these can now be replaced by one call to buffer->changed(bool). 2010-01-08 02:03:54 +00:00