]> git.lyx.org Git - lyx.git/commitdiff
Fix also nomenclature dialog which was refered in #3852
authorPavel Sanda <sanda@lyx.org>
Fri, 6 Nov 2009 15:22:21 +0000 (15:22 +0000)
committerPavel Sanda <sanda@lyx.org>
Fri, 6 Nov 2009 15:22:21 +0000 (15:22 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31875 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiNomencl.cpp

index 8eb5b248b6762f76bcd984ade20545c0b679363b..6aa35f827810c6e0fdbce6367a8fd21dc2b0a722 100644 (file)
@@ -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());
 }