mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
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:
parent
f7a545e471
commit
ac103f15a7
@ -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);
|
||||
|
@ -149,4 +149,7 @@ protected:
|
||||
// So do it here.
|
||||
void mathDispatch(FuncRequest const &);
|
||||
|
||||
///
|
||||
void releaseMathCursor(BufferView * bv);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user