]> git.lyx.org Git - features.git/commit
Make a new function to check whether a workArea is also shown in another view.
authorVincent van Ravesteijn <vfr@lyx.org>
Sat, 15 Aug 2009 18:13:21 +0000 (18:13 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sat, 15 Aug 2009 18:13:21 +0000 (18:13 +0000)
commit7372c173a6bed7ac9b168ed60196fdf334a98e5b
tree2e46a652be9fe022f0bae20424739733901244d6
parente445666594185940b4e340a782b2b07aae4c276c
Make a new function to check whether a workArea is also shown in another view.

Use this function in closeBufferAll, and use closeBuffer to hide the buffer. Now, closeBuffer will decide whether we need to save the buffer or not. Previously, the buffer got hidden even if it was dirty.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31059 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiView.cpp
src/frontends/qt4/GuiView.h