mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
InsetFootlike.cpp: disallow to use listings in foot-like insets
- fixes bug #9321 also for branch
This commit is contained in:
parent
6cefd29d41
commit
aa82c1cc19
@ -57,7 +57,8 @@ void InsetFootlike::write(ostream & os) const
|
||||
|
||||
bool InsetFootlike::insetAllowed(InsetCode code) const
|
||||
{
|
||||
if (code == FOOT_CODE || code == MARGIN_CODE || code == FLOAT_CODE)
|
||||
if (code == FOOT_CODE || code == MARGIN_CODE || code == FLOAT_CODE
|
||||
|| code == LISTINGS_CODE)
|
||||
return false;
|
||||
return InsetCollapsable::insetAllowed(code);
|
||||
}
|
||||
|
@ -94,6 +94,8 @@ What's new
|
||||
- Fix mapping of ISO_Left_Tab key, which was erroneously assigned to Tab
|
||||
(instead of BackTab).
|
||||
|
||||
- Disallow to insert program listings to footnotes and margin notes (bug 9321).
|
||||
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user