From d4df3a6b6fa3517c50359c6e3080a5c77a0735b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Mon, 30 Jul 2007 14:58:12 +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/branches/BRANCH_1_5_X@19242 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXFunc.cpp | 3 +++ status.15x | 2 ++ 2 files changed, 5 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: diff --git a/status.15x b/status.15x index 9c885db5e5..1bd37428eb 100644 --- a/status.15x +++ b/status.15x @@ -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).