mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
branch: Fix bug #7164: Text in tables not painted immediately.
Fixes the regression introduced in r36679. see r36848. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36862 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
204695b878
commit
1b39c1f7fe
@ -686,7 +686,9 @@ void RowPainter::paintOnlyInsets()
|
||||
for (pos_type pos = row_.pos(); pos != end; ++pos) {
|
||||
// If outer row has changed, nested insets are repaint completely.
|
||||
Inset const * inset = par_.getInset(pos);
|
||||
if (!inset || !inset->asInsetText())
|
||||
bool const nested_inset = inset &&
|
||||
(inset->asInsetText() || inset->asInsetTabular());
|
||||
if (!nested_inset)
|
||||
continue;
|
||||
if (x_ > pi_.base.bv->workWidth()
|
||||
|| !cache.getInsets().has(inset))
|
||||
|
Loading…
Reference in New Issue
Block a user