From 35eb1a2405777aaa7e5c415066458a3f2681b12b Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 13 Oct 2010 17:12:25 +0000 Subject: [PATCH] Fix bug #6316. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35630 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/BufferView.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.39.5