From 8f1153820a8733e0cf67097009cd66491aaaec67 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 6 Jan 2008 16:44:51 +0000 Subject: [PATCH] Thanks, Angus. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22397 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ModuleList.cpp | 1 + src/ModuleList.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/ModuleList.cpp b/src/ModuleList.cpp index 2de1cb014c..cd282ea70a 100644 --- a/src/ModuleList.cpp +++ b/src/ModuleList.cpp @@ -45,6 +45,7 @@ bool LyXModule::isAvailable() { return true; if (checked) return available; + checked = true; vector::const_iterator it = packageList.begin(); vector::const_iterator end = packageList.end(); for (; it != end; ++it) { diff --git a/src/ModuleList.h b/src/ModuleList.h index 75c5854f11..2f530e931a 100644 --- a/src/ModuleList.h +++ b/src/ModuleList.h @@ -23,6 +23,8 @@ namespace lyx { * file, except that it does not stand alone. In that sense, it is more like * a LaTeX package, where a layout file corresponds to a LaTeX class. */ + +//FIXME Give us some access functions here. class LyXModule { public: /// -- 2.39.2