Author: rgheck
Date: Thu Jan 13 22:31:14 2011
New Revision: 37209
URL: http://www.lyx.org/trac/changeset/37209

Log:
Allow the warning to be disabled.

Modified:
   lyx-devel/trunk/src/TextClass.cpp

Modified: lyx-devel/trunk/src/TextClass.cpp
==============================================================================
--- lyx-devel/trunk/src/TextClass.cpp   Thu Jan 13 22:25:10 2011        (r37208)
+++ lyx-devel/trunk/src/TextClass.cpp   Thu Jan 13 22:31:14 2011        (r37209)
@@ -1317,7 +1317,7 @@
                                                "\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)) {

Reply via email to