]> git.lyx.org Git - features.git/commit
Fix bug #6451 (last part): Crash when interacting with buffer-dependent dialog with...
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 26 Apr 2010 02:12:10 +0000 (02:12 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 26 Apr 2010 02:12:10 +0000 (02:12 +0000)
commitf65f5be6d74782fcb4045af38e03922714c4deff
tree0ead8e0a799cf7949784df01475eb4efdccd3d4c
parent28b167bfff0257791673fa660eb3ec5b234ce3c4
Fix bug #6451 (last part): Crash when interacting with buffer-dependent dialog with no buffer open.

- First, the comment for isBufferDependent is corrected. It seems that the actual use of this function differs from the comment. As the comment said, I decided to close all dialogs that were buffer dependent, but this didn't seem to be correct for the view source pan, the outliner, and find-and-replace.

- Second, the dialogs that are buffer dependent are now closed, but dockviews are not, except for the spellchecker pane, which really depends on an open buffer, but I can't test that.

So, please test whether the spellchecker dockviewed window behaves as one expects.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34291 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/Dialog.h
src/frontends/qt4/DialogView.h
src/frontends/qt4/DockView.h
src/frontends/qt4/GuiDialog.h
src/frontends/qt4/GuiSpellchecker.h
src/frontends/qt4/GuiView.cpp