From b4704ec2c4df24ef7fed132efa9305b72aa4a4a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 12 Jul 2001 13:19:55 +0000 Subject: [PATCH] fix 'buffer is (Changed) by simply entering a formula' git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2226 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/formulabase.C | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/mathed/formulabase.C b/src/mathed/formulabase.C index 91e1fd6c2f..9191e48c3d 100644 --- a/src/mathed/formulabase.C +++ b/src/mathed/formulabase.C @@ -307,12 +307,11 @@ void InsetFormulaBase::edit(BufferView * bv, int x, int /*y*/, unsigned int) lyxerr[Debug::MATHED] << "Cannot lock inset!!!" << endl; par_->Metrics(LM_ST_TEXT); - bv->updateInset(this, false); - if (x == 0) { + //bv->updateInset(this, false); + if (x == 0) mathcursor->first(); - } else { + else mathcursor->last(); - } sel_x = 0; sel_y = 0; sel_flag = false;