From: Richard Heck Date: Wed, 13 Oct 2010 17:12:25 +0000 (+0000) Subject: Fix bug #6316. X-Git-Tag: 2.0.0~2401 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=35eb1a2405777aaa7e5c415066458a3f2681b12b;p=lyx.git Fix bug #6316. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35630 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/BufferView.cpp b/src/BufferView.cpp index ca77d69690..e3abe9586f 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -1849,8 +1849,11 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr) } cur.recordUndo(); FuncRequest fr(LFUN_INSET_MODIFY, cmd.argument()); + // FIXME There may be some cases where the inset knows that + // single par update would be good enough, but it has no way + // to tell us that at the moment. inset->dispatch(cur, fr); - dr.update(Update::SinglePar | Update::FitCursor); + dr.update(Update::Force | Update::FitCursor); dr.forceBufferUpdate(); break; }