another safety belt

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5632 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-11-14 07:48:34 +00:00
parent f7a545e471
commit ac103f15a7
2 changed files with 7 additions and 0 deletions

View File

@ -233,6 +233,10 @@ void InsetFormulaBase::getCursorPos(BufferView *, int & x, int & y) const
void InsetFormulaBase::toggleInsetCursor(BufferView * bv)
{
if (!mathcursor) {
lyxerr << "toggleInsetCursor impossible\n";
return;
}
//lyxerr << "toggleInsetCursor: " << isCursorVisible() << "\n";
if (isCursorVisible())
hideInsetCursor(bv);

View File

@ -149,4 +149,7 @@ protected:
// So do it here.
void mathDispatch(FuncRequest const &);
///
void releaseMathCursor(BufferView * bv);
#endif