mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
MacOS compil fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19831 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d0b8f24cc2
commit
58d777eca3
@ -1280,7 +1280,8 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
// FIXME: This Text/Cursor dispatch handling is a mess!
|
||||
// We cannot use Cursor::dispatch here it needs access to up to
|
||||
// date metrics.
|
||||
cur.text()->dispatch(cur, FuncRequest(LFUN_CAPTION_INSERT));
|
||||
FuncRequest cmd_caption(LFUN_CAPTION_INSERT);
|
||||
cur.text()->dispatch(cur, cmd_caption);
|
||||
cur.updateFlags(Update::Force);
|
||||
// FIXME: When leaving the Float (or Wrap) inset we should
|
||||
// delete any empty paragraph left above or below the
|
||||
|
Loading…
Reference in New Issue
Block a user