Stupid cut&paste error in previous revision. Sorry.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31420 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2009-09-20 21:58:35 +00:00
parent 53797b653a
commit 1e0f34182e

View File

@ -1091,7 +1091,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
if (lyx_view_ == 0)
break;
BufferView * bv = lyx_view_->documentBufferView();
BufferView * bv = lyx_view_->currentBufferView();
BufferView * doc_bv = lyx_view_->documentBufferView();
// Start an undo group. This may be needed for