mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Crash fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22398 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8f1153820a
commit
012c7f3280
@ -1713,6 +1713,8 @@ vector<string> GuiDocument::getPackageList(string const & modName) const
|
||||
bool GuiDocument::isModuleAvailable(string const & modName) const
|
||||
{
|
||||
LyXModule * mod = moduleList[modName];
|
||||
if (!mod)
|
||||
return false;
|
||||
return mod->isAvailable();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user