mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
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:
parent
8dc8a36370
commit
b4704ec2c4
@ -307,12 +307,11 @@ void InsetFormulaBase::edit(BufferView * bv, int x, int /*y*/, unsigned int)
|
|||||||
lyxerr[Debug::MATHED] << "Cannot lock inset!!!" << endl;
|
lyxerr[Debug::MATHED] << "Cannot lock inset!!!" << endl;
|
||||||
|
|
||||||
par_->Metrics(LM_ST_TEXT);
|
par_->Metrics(LM_ST_TEXT);
|
||||||
bv->updateInset(this, false);
|
//bv->updateInset(this, false);
|
||||||
if (x == 0) {
|
if (x == 0)
|
||||||
mathcursor->first();
|
mathcursor->first();
|
||||||
} else {
|
else
|
||||||
mathcursor->last();
|
mathcursor->last();
|
||||||
}
|
|
||||||
sel_x = 0;
|
sel_x = 0;
|
||||||
sel_y = 0;
|
sel_y = 0;
|
||||||
sel_flag = false;
|
sel_flag = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user