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
This commit is contained in:
André Pönitz 2001-07-12 13:19:55 +00:00
parent 8dc8a36370
commit b4704ec2c4

View File

@ -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;