mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
SVN blames Jürgen for this code (rev 22325). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24879 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5398dce8ae
commit
771e0ba1a3
@ -3435,13 +3435,15 @@ void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
case LFUN_PASTE:
|
case LFUN_PASTE:
|
||||||
if (tabularStackDirty() && theClipboard().isInternal() ||
|
if (!tabularStackDirty()) {
|
||||||
|
cell(cur.idx())->dispatch(cur, cmd);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (theClipboard().isInternal() ||
|
||||||
!theClipboard().hasInternal() && theClipboard().hasLyXContents()) {
|
!theClipboard().hasInternal() && theClipboard().hasLyXContents()) {
|
||||||
cur.recordUndoInset(INSERT_UNDO);
|
cur.recordUndoInset(INSERT_UNDO);
|
||||||
pasteClipboard(cur);
|
pasteClipboard(cur);
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
cell(cur.idx())->dispatch(cur, cmd);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LFUN_FONT_EMPH:
|
case LFUN_FONT_EMPH:
|
||||||
|
Loading…
Reference in New Issue
Block a user