mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Fix bugs #7165 (Auto-complete does not disappear after using it)
and #7174 (Math selection broken) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36902 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5179e2f4d8
commit
cf85f9ce69
@ -752,8 +752,9 @@ void RowPainter::paintOnlyInsets()
|
|||||||
for (pos_type pos = row_.pos(); pos != end; ++pos) {
|
for (pos_type pos = row_.pos(); pos != end; ++pos) {
|
||||||
// If outer row has changed, nested insets are repaint completely.
|
// If outer row has changed, nested insets are repaint completely.
|
||||||
Inset const * inset = par_.getInset(pos);
|
Inset const * inset = par_.getInset(pos);
|
||||||
bool const nested_inset = inset &&
|
bool const nested_inset = inset && (inset->inMathed() ||
|
||||||
(inset->asInsetText() || inset->asInsetTabular());
|
inset->asInsetText() ||
|
||||||
|
inset->asInsetTabular());
|
||||||
if (!nested_inset)
|
if (!nested_inset)
|
||||||
continue;
|
continue;
|
||||||
if (x_ > pi_.base.bv->workWidth()
|
if (x_ > pi_.base.bv->workWidth()
|
||||||
|
Loading…
Reference in New Issue
Block a user