mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 11:52:25 +00:00
* src/insets/insettabular.C
(InsetTabular::doDispatch): Don't reset the table paste buffer when pasting from the external clipboard or selection, since no paste operation should ever change any clipboard. At the same time make the code more readable by removing the fall-through. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16492 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e873e7c0a9
commit
c9bd56ab18
@ -722,14 +722,9 @@ void InsetTabular::doDispatch(LCursor & cur, FuncRequest & cmd)
|
|||||||
bvcur.setCursor(cur);
|
bvcur.setCursor(cur);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
// so that the clipboard is used and it goes on
|
|
||||||
// to default
|
|
||||||
// and executes LFUN_PRIMARY_SELECTION_PASTE in insettext!
|
|
||||||
paste_tabular.reset();
|
|
||||||
dirtyTabularStack(false);
|
|
||||||
}
|
}
|
||||||
// fall through
|
// Let the cell handle normal text
|
||||||
|
cell(cur.idx())->dispatch(cur, cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
case LFUN_PASTE:
|
case LFUN_PASTE:
|
||||||
|
Loading…
Reference in New Issue
Block a user