X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FInsetParamsDialog.cpp;h=e6ee1d09ec8a19c339e5b715b52ff7550f9292ef;hb=ee7dd4a11ea21851e7e32164c66b37d3bc8ac31d;hp=7a8ab9c3295b9cff697c59b6e677b040e5071e48;hpb=85c782bde8b99402657ed7267b17dce30e24f69e;p=lyx.git diff --git a/src/frontends/qt4/InsetParamsDialog.cpp b/src/frontends/qt4/InsetParamsDialog.cpp index 7a8ab9c329..e6ee1d09ec 100644 --- a/src/frontends/qt4/InsetParamsDialog.cpp +++ b/src/frontends/qt4/InsetParamsDialog.cpp @@ -17,6 +17,7 @@ #include "GuiBibitem.h" #include "GuiERT.h" #include "GuiInfo.h" +#include "GuiLine.h" #include "GuiHSpace.h" #include "GuiTabular.h" #include "GuiVSpace.h" @@ -69,6 +70,7 @@ InsetParamsDialog::InsetParamsDialog(GuiView & lv, InsetParamsWidget * widget) setInsetParamsWidget(widget); synchronizedViewCB->setChecked(false); on_synchronizedViewCB_stateChanged(false); + setFocusProxy(widget); } InsetParamsDialog::~InsetParamsDialog() @@ -219,6 +221,9 @@ Dialog * createDialog(GuiView & lv, InsetCode code) case INFO_CODE: widget = new GuiInfo; break; + case LINE_CODE: + widget = new GuiLine; + break; case MATH_SPACE_CODE: widget = new GuiHSpace(true); break;