mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
parent
d1858b89d0
commit
af8ba5e069
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user