* 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
This commit is contained in:
Jürgen Spitzmüller 2007-07-30 14:55:27 +00:00
parent 59f41d955f
commit 1f5490e017

View File

@ -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: