diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index 9cbaec7436..5c0f768a94 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -899,6 +899,8 @@ GuiDocument::GuiDocument(GuiView & lv) latexModule->psdriverCO->addItem(enc); } // latex classes + // FIXME hide local layout button due to bug 4812. + latexModule->layoutPB->hide(); latexModule->classCO->setModel(&classes_model_); LayoutFileList const & bcl = LayoutFileList::get(); vector classList = bcl.classList(); diff --git a/src/frontends/qt4/ui/LaTeXUi.ui b/src/frontends/qt4/ui/LaTeXUi.ui index 7d4903376b..24edcbf0d3 100644 --- a/src/frontends/qt4/ui/LaTeXUi.ui +++ b/src/frontends/qt4/ui/LaTeXUi.ui @@ -160,19 +160,6 @@ - - - - Qt::Horizontal - - - - 261 - 22 - - - - @@ -203,24 +190,6 @@ - - - - - 1 - 0 - 0 - 0 - - - - Click to select a local document class definition file - - - &Local Layout... - - - @@ -231,7 +200,7 @@ - + 20 @@ -251,6 +220,37 @@ + + + + Qt::Horizontal + + + + 31 + 23 + + + + + + + + + 1 + 0 + 0 + 0 + + + + Click to select a local document class definition file + + + &Local Layout... + + +