X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiNomencl.cpp;h=6aa35f827810c6e0fdbce6367a8fd21dc2b0a722;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=fb999eb8ad5d4dd000f9438c913dbfe6e1d35419;hpb=cf7fdf78bb67cb3806de8e314e3ded889b2220c7;p=lyx.git diff --git a/src/frontends/qt4/GuiNomencl.cpp b/src/frontends/qt4/GuiNomencl.cpp index fb999eb8ad..6aa35f8278 100644 --- a/src/frontends/qt4/GuiNomencl.cpp +++ b/src/frontends/qt4/GuiNomencl.cpp @@ -71,6 +71,7 @@ void GuiNomenclature::paramsToDialog(InsetCommandParams const & /*icp*/) QString description = toqstr(params_["description"]); description.replace("\\\\","\n"); descriptionTE->setPlainText(description); + descriptionTE->setFocus(); bc().setValid(isValid()); } @@ -118,4 +119,4 @@ Dialog * createGuiNomenclature(GuiView & lv) } // namespace frontend } // namespace lyx -#include "GuiNomencl_moc.cpp" +#include "moc_GuiNomencl.cpp"