mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Fix bug #6316.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35630 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
69b1ea0ecf
commit
35eb1a2405
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user