mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Revert "InsetFootlike.cpp: disable listings inside footnotes"
Although af8ba5e0 fixed #9321, it broke a valid use case that was reported by a user at #9785. Hopefully we can come up with a better fix for #9321. This reverts commit af8ba5e0696c0e1989effe4179c990a054bc06df.
This commit is contained in:
parent
820bfe3d10
commit
6631e736bd
@ -61,8 +61,7 @@ void InsetFootlike::write(ostream & os) const
|
||||
|
||||
bool InsetFootlike::insetAllowed(InsetCode code) const
|
||||
{
|
||||
if (code == FOOT_CODE || code == MARGIN_CODE || code == FLOAT_CODE
|
||||
|| code == LISTINGS_CODE)
|
||||
if (code == FOOT_CODE || code == MARGIN_CODE || code == FLOAT_CODE)
|
||||
return false;
|
||||
return InsetCollapsable::insetAllowed(code);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user