in the Release event!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4054
a592a061-630c-0410-9148-
cb99ea01b6c8
* formulabase.C (insetButtonPress): set the mathcursor in case we
don't have one. This happens when clicking on a non locked mathed
inset with any button != 1.
+ (insetButtonPress): Forgot about this the Panel should NEVER be
+ opened in a Press event ONLY in the Release event!
2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
mathcursor->selClear();
mathcursor->setPos(x + xo_, y + yo_);
}
+#if 0
+#warning Never launch a Dialog on "Press" event ONLY on "Release" event!
if (button == 3) {
// launch math panel for right mouse button
bv->owner()->getDialogs()->showMathPanel();
}
+#endif
#endif
bv->updateInset(this, false);
}