]> git.lyx.org Git - features.git/commitdiff
Allow the warning to be disabled.
authorRichard Heck <rgheck@comcast.net>
Thu, 13 Jan 2011 21:31:14 +0000 (21:31 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 13 Jan 2011 21:31:14 +0000 (21:31 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37209 a592a061-630c-0410-9148-cb99ea01b6c8

src/TextClass.cpp

index 750d554001f505b0a6c7daccb8e2bc57357376f6..4465b1b7799b335178f9c2149e09732dfc2f46d5 100644 (file)
@@ -1317,7 +1317,7 @@ DocumentClass & DocumentClassBundle::makeDocumentClass(
                                                "\t%2$s\n"
                                        "See section 3.1.2.3 of the User's Guide for more information."),
                                from_utf8(modName), prereqs);
-                       frontend::Alert::warning(_("Package not available"), msg);
+                       frontend::Alert::warning(_("Package not available"), msg, true);
                }
                FileName layout_file = libFileSearch("layouts", lm->getFilename());
                if (!doc_class.read(layout_file, TextClass::MODULE)) {