mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
* src/insets/insettabular.C (doDispatch): do not reset cursor/selection
if we have selected some cells (bug 2715). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16075 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5df2f4ed06
commit
288fbc7a6b
@ -494,7 +494,8 @@ void InsetTabular::doDispatch(LCursor & cur, FuncRequest & cmd)
|
||||
//lyxerr << "# InsetTabular::MousePress\n" << cur.bv().cursor() << endl;
|
||||
|
||||
if (cmd.button() == mouse_button::button1
|
||||
|| cmd.button() == mouse_button::button3) {
|
||||
|| (cmd.button() == mouse_button::button3
|
||||
&& (&bvcur.selBegin().inset() != this || !tablemode(bvcur)))) {
|
||||
cur.selection() = false;
|
||||
setCursorFromCoordinates(cur, cmd.x, cmd.y);
|
||||
cur.resetAnchor();
|
||||
|
Loading…
Reference in New Issue
Block a user