mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix bug #8782: We need to query the cell, not just the inset.
(cherry picked from commit f49556b3ed
)
This commit is contained in:
parent
fd0236414f
commit
88f6da78af
@ -160,7 +160,7 @@ pasteSelectionHelper(DocIterator const & cur, ParagraphList const & parlist,
|
|||||||
// set the paragraphs to plain layout if necessary
|
// set the paragraphs to plain layout if necessary
|
||||||
DocumentClassConstPtr newDocClass = buffer.params().documentClassPtr();
|
DocumentClassConstPtr newDocClass = buffer.params().documentClassPtr();
|
||||||
if (cur.inset().usePlainLayout()) {
|
if (cur.inset().usePlainLayout()) {
|
||||||
bool forcePlainLayout = cur.inset().forcePlainLayout();
|
bool forcePlainLayout = target_inset->forcePlainLayout();
|
||||||
Layout const & plainLayout = newDocClass->plainLayout();
|
Layout const & plainLayout = newDocClass->plainLayout();
|
||||||
Layout const & defaultLayout = newDocClass->defaultLayout();
|
Layout const & defaultLayout = newDocClass->defaultLayout();
|
||||||
ParagraphList::iterator const end = insertion.end();
|
ParagraphList::iterator const end = insertion.end();
|
||||||
|
@ -108,6 +108,9 @@ What's new
|
|||||||
|
|
||||||
- Do not omit the first space of the selection when copying (bug 9995).
|
- Do not omit the first space of the selection when copying (bug 9995).
|
||||||
|
|
||||||
|
- Do not allow non-default layouts to be pasted into table cells that are not fixed
|
||||||
|
width (bug 8782).
|
||||||
|
|
||||||
- Display the correct column alignment and a better column spacing in AMS
|
- Display the correct column alignment and a better column spacing in AMS
|
||||||
environments (bugs 1861, 9908).
|
environments (bugs 1861, 9908).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user