]> git.lyx.org Git - lyx.git/blobdiff - src/Text3.cpp
Fix bug #6744: Crash when copying an inset from a deleted section.
[lyx.git] / src / Text3.cpp
index 69015cac62a76326e39b8e04ad79266ead93f612..0dd3b6492c96ee94fb1906e658d4fa0ae9533c95 100644 (file)
@@ -2288,7 +2288,7 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd,
                        if (cit == floats.end() ||
                                        // and that we know how to generate a list of them
                            (!cit->second.needsFloatPkg() && cit->second.listCommand().empty())) {
-                               flag.unknown(true);
+                               flag.setUnknown(true);
                                // probably not necessary, but...
                                enable = false;
                        }