GuiDocument.cpp: the local layout can be treated as layout file snippet like a module - therefore group it with the module panel in the document settings dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35421 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-09-17 01:46:45 +00:00
parent 6faa1b3713
commit 5a7328b0bb

View File

@ -1246,6 +1246,7 @@ GuiDocument::GuiDocument(GuiView & lv)
docPS->addPanel(latexModule, qt_("Document Class"));
docPS->addPanel(masterChildModule, qt_("Child Documents"));
docPS->addPanel(modulesModule, qt_("Modules"));
docPS->addPanel(localLayout, qt_("Local Layout"));
docPS->addPanel(fontModule, qt_("Fonts"));
docPS->addPanel(textLayoutModule, qt_("Text Layout"));
docPS->addPanel(pageLayoutModule, qt_("Page Layout"));
@ -1263,7 +1264,6 @@ GuiDocument::GuiDocument(GuiView & lv)
docPS->addPanel(branchesModule, qt_("Branches"));
docPS->addPanel(outputModule, qt_("Output"));
docPS->addPanel(preambleModule, qt_("LaTeX Preamble"));
docPS->addPanel(localLayout, qt_("Local Layout"));
docPS->setCurrentPanel(qt_("Document Class"));
// FIXME: hack to work around resizing bug in Qt >= 4.2
// bug verified with Qt 4.2.{0-3} (JSpitzm)