]> git.lyx.org Git - features.git/commit
Extend saveBufferIsNeeded with a parameter indicating whether the buffer is going...
authorVincent van Ravesteijn <vfr@lyx.org>
Fri, 14 Aug 2009 23:12:21 +0000 (23:12 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Fri, 14 Aug 2009 23:12:21 +0000 (23:12 +0000)
commitbbafbc884cfd72bbc31edb07f9a43f6c78d74faf
treea3bdae9ab19e6fe3be2176a55186763e8eb3de66
parent81554c90f109c29458095f1cc1be6a5acc427987
Extend saveBufferIsNeeded with a parameter indicating whether the buffer is going into a hidden state. If so, and the user discards his changes, the buffer will be reloaded to discard the changes.

Now, the option "Hide Tab" uses closeBuffer and asks for saving intead of instantly removing the workArea.

This is part of bug #5893: we try to make sure that there are no dirty hidden buffers.

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