* insettabular.C (doDispatch):

set cursor after mouse (button 3) press
	(re-fix bug 2526).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13909 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2006-05-22 14:19:34 +00:00
parent 6116f95f83
commit a6c099326c

View File

@ -473,6 +473,9 @@ void InsetTabular::doDispatch(LCursor & cur, FuncRequest & cmd)
break;
}
if (cmd.button() == mouse_button::button3)
bvcur.setCursor(cur);
break;
case LFUN_MOUSE_MOTION:
@ -490,10 +493,8 @@ void InsetTabular::doDispatch(LCursor & cur, FuncRequest & cmd)
case LFUN_MOUSE_RELEASE:
//lyxerr << "# InsetTabular::MouseRelease\n" << bvcur << endl;
if (cmd.button() == mouse_button::button3) {
bvcur.setCursor(cur);
if (cmd.button() == mouse_button::button3)
InsetTabularMailer(*this).showDialog(&cur.bv());
}
break;
case LFUN_CELL_BACKWARD: