]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListingsParams.cpp
Remove color dependency of framed note, fix bug 3598
[lyx.git] / src / insets / InsetListingsParams.cpp
index f651f453b44d465930400002c63e800ee05ac84c..473538475ce773b5a2d77170e136f497383425c1 100644 (file)
@@ -560,6 +560,12 @@ void InsetListingsParams::fromEncodedString(string const & in)
 }
 
 
+bool InsetListingsParams::isFloat() const
+{
+       return find(keys_.begin(), keys_.end(), "float") != keys_.end();
+}
+
+
 string InsetListingsParams::getParamValue(string const & param) const
 {
        // is this parameter defined?