mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Reset postcommandargs as well on resetargs (bug #8500)
This commit is contained in:
parent
a3036539b2
commit
e27ee60098
@ -328,6 +328,7 @@ bool Layout::read(Lexer & lex, TextClass const & tclass)
|
||||
if (reset) {
|
||||
latexargs_.clear();
|
||||
itemargs_.clear();
|
||||
postcommandargs_.clear();
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -336,8 +336,10 @@ bool InsetLayout::read(Lexer & lex, TextClass const & tclass)
|
||||
case IL_RESETARGS:
|
||||
bool reset;
|
||||
lex >> reset;
|
||||
if (reset)
|
||||
if (reset) {
|
||||
latexargs_.clear();
|
||||
postcommandargs_.clear();
|
||||
}
|
||||
break;
|
||||
case IL_ARGUMENT:
|
||||
readArgument(lex);
|
||||
|
Loading…
Reference in New Issue
Block a user