]> git.lyx.org Git - lyx.git/commitdiff
Fix bug #6316.
authorRichard Heck <rgheck@comcast.net>
Wed, 13 Oct 2010 17:12:25 +0000 (17:12 +0000)
committerRichard Heck <rgheck@comcast.net>
Wed, 13 Oct 2010 17:12:25 +0000 (17:12 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35630 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.cpp

index ca77d6969099011edb0d456d0451c750bed1d8bb..e3abe9586ff49bdd7a3b1481bc343275be72bee1 100644 (file)
@@ -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;
        }