mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
Fix bug 3408 and 3408:
http://bugzilla.lyx.org/show_bug.cgi?id=3408 http://bugzilla.lyx.org/show_bug.cgi?id=3409 The missing redraw was introduced with "Draw only decoration" optimisation in mathed. Setting the flags to Update::Force in case of Preview mode fixes the problem. * InsetMathHull::notifyCursorLeaves(): set the cursor flags to 'Force' git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17718 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f56c8c83b0
commit
4be4fe2af8
@ -416,6 +416,7 @@ bool InsetMathHull::notifyCursorLeaves(LCursor & cur)
|
||||
docstring const snippet = latex_string(*this);
|
||||
preview_->addPreview(snippet, buffer);
|
||||
preview_->startLoading(buffer);
|
||||
cur.updateFlags(Update::Force);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user