mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Allow counter insets in pass thru
This commit is contained in:
parent
9586c51c3f
commit
67762aaf08
@ -945,9 +945,11 @@ bool InsetText::hasCProtectContent(bool fragile) const
|
||||
bool InsetText::insetAllowed(InsetCode code) const
|
||||
{
|
||||
switch (code) {
|
||||
// Arguments and (plain) quotes are also allowed in PassThru insets
|
||||
// Arguments, (plain) quotes and counter insets
|
||||
// are also allowed in PassThru insets
|
||||
case ARG_CODE:
|
||||
case QUOTE_CODE:
|
||||
case COUNTER_CODE:
|
||||
return true;
|
||||
default:
|
||||
return !isPassThru();
|
||||
|
Loading…
Reference in New Issue
Block a user