I found the following small bug very annoying during the last days: when you 
open the tabular dialog with rmb, the cursor jumps out of the table. You have 
to click inside again, which brings the tabular dialog in the background...

The attached patch fixes that.

OK for branch and trunk?

Jürgen
Index: src/insets/insettabular.C
===================================================================
--- src/insets/insettabular.C	(Revision 13881)
+++ src/insets/insettabular.C	(Arbeitskopie)
@@ -493,8 +493,10 @@ void InsetTabular::doDispatch(LCursor & 
 
 	case LFUN_MOUSE_RELEASE:
 		//lyxerr << "# InsetTabular::MouseRelease\n" << bvcur << endl;
-		if (cmd.button() == mouse_button::button3)
+		if (cmd.button() == mouse_button::button3) {
+			bvcur.setCursor(cur);
 			InsetTabularMailer(*this).showDialog(&cur.bv());
+		}
 		break;
 
 	case LFUN_CELL_BACKWARD:

Reply via email to