]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetert.C
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / insetert.C
index 091a2427f15427cc4b0867c78845b08db834f8c5..cb62a2579b4290e7b6236371c5609daa868d2191 100644 (file)
@@ -466,7 +466,7 @@ void InsetERTMailer::string2params(string const & in,
 
        int s;
        lex >> s;
-       if (lex.isOK())
+       if (lex)
                status = static_cast<InsetCollapsable::CollapseStatus>(s);
 }