mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix bug #8782: We need to query the cell, not just the inset.
This commit is contained in:
parent
9fe0e9563f
commit
f49556b3ed
@ -160,7 +160,7 @@ pasteSelectionHelper(DocIterator const & cur, ParagraphList const & parlist,
|
||||
// set the paragraphs to plain layout if necessary
|
||||
DocumentClassConstPtr newDocClass = buffer.params().documentClassPtr();
|
||||
if (cur.inset().usePlainLayout()) {
|
||||
bool forcePlainLayout = cur.inset().forcePlainLayout();
|
||||
bool forcePlainLayout = target_inset->forcePlainLayout();
|
||||
Layout const & plainLayout = newDocClass->plainLayout();
|
||||
Layout const & defaultLayout = newDocClass->defaultLayout();
|
||||
ParagraphList::iterator const end = insertion.end();
|
||||
|
Loading…
Reference in New Issue
Block a user