* src/LyXFunc.cpp (doDispatch):

- force full screen update on buffer switch (fixes bug 3969).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19242 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-07-30 14:58:12 +00:00
parent 63c587190f
commit d4df3a6b6f
2 changed files with 5 additions and 0 deletions

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:

View File

@ -41,6 +41,8 @@ What's new
* USER INTERFACE:
- Fix redrawing artefacts when switching tabs (bug 3969).
- Don't allow invalid listings parameters to be passed when
updating other controls in listings-related dialogs (bug 4053).