git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35630 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-10-13 17:12:25 +00:00
parent 69b1ea0ecf
commit 35eb1a2405

View 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;
}