From 35540efe5224c932e4b0c740cc163f591b49950c Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 13 Jan 2011 21:31:14 +0000 Subject: [PATCH] Allow the warning to be disabled. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37209 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/TextClass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TextClass.cpp b/src/TextClass.cpp index 750d554001..4465b1b779 100644 --- a/src/TextClass.cpp +++ b/src/TextClass.cpp @@ -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)) { -- 2.39.2