mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 16:52:02 +00:00
Do a little better here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23514 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
af6e88250a
commit
89d82d37f4
@ -240,8 +240,9 @@ LayoutFileIndex defaultBaseclass()
|
||||
{
|
||||
if (BaseClassList::get().haveClass("article"))
|
||||
return string("article");
|
||||
else
|
||||
if (BaseClassList::get().empty())
|
||||
return string("");
|
||||
return BaseClassList::get().classList().front();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user