only scream when asked...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5924 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-01-08 17:38:47 +00:00
parent 986da292f8
commit 6caa1b7bc5

View File

@ -234,7 +234,7 @@ void InsetFormulaBase::getCursorPos(BufferView *, int & x, int & y) const
void InsetFormulaBase::toggleInsetCursor(BufferView * bv)
{
if (!mathcursor) {
lyxerr << "toggleInsetCursor impossible" << endl;
lyxerr[Debug::MATHED] << "toggleInsetCursor impossible" << endl;
return;
}
//lyxerr << "toggleInsetCursor: " << isCursorVisible() << endl;
@ -356,7 +356,7 @@ Inset::RESULT InsetFormulaBase::lfunMousePress(FuncRequest const & cmd)
//lyxerr << "lfunMousePress: buttons: " << cmd.button() << endl;
if (!mathcursor || mathcursor->formula() != this) {
lyxerr << "re-create cursor" << endl;
lyxerr[Debug::MATHED] << "re-create cursor" << endl;
releaseMathCursor(bv);
mathcursor = new MathCursor(this, cmd.x == 0);
metrics(bv);