]> git.lyx.org Git - lyx.git/blobdiff - src/Text.cpp
* do not ignore "requires" field in MathMacro
[lyx.git] / src / Text.cpp
index b5c03ebae65e21189aaeaf460195bbf557b27b9b..8a168e8140fa589b31dbfbc7b3486a10c48cad70 100644 (file)
@@ -1820,7 +1820,7 @@ docstring Text::getPossibleLabel(Cursor & cur) const
                if (!float_inset)
                        float_inset = cur.innerInsetOfType(Inset::WRAP_CODE);
                if (float_inset)
-                       name = float_inset->insetName();
+                       name = float_inset->name();
        }
 
        // Create a correct prefix for prettyref