From 1f5490e0171b2675f3e695d93093048b36c1c9ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Mon, 30 Jul 2007 14:55:27 +0000 Subject: [PATCH] * src/LyXFunc.cpp (doDispatch): - force full screen update on buffer switch (fixes bug 3969). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19241 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXFunc.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/LyXFunc.cpp b/src/LyXFunc.cpp index 75c48112ea..49bd2363c4 100644 --- a/src/LyXFunc.cpp +++ b/src/LyXFunc.cpp @@ -1190,16 +1190,19 @@ void LyXFunc::dispatch(FuncRequest const & cmd) case LFUN_BUFFER_SWITCH: BOOST_ASSERT(lyx_view_); lyx_view_->setBuffer(theBufferList().getBuffer(argument)); + updateFlags = Update::Force; break; case LFUN_BUFFER_NEXT: BOOST_ASSERT(lyx_view_); lyx_view_->setBuffer(theBufferList().next(view()->buffer())); + updateFlags = Update::Force; break; case LFUN_BUFFER_PREVIOUS: BOOST_ASSERT(lyx_view_); lyx_view_->setBuffer(theBufferList().previous(view()->buffer())); + updateFlags = Update::Force; break; case LFUN_FILE_NEW: