X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiInclude.cpp;h=edbf7a19c42f96617fb991253ba3df1137368ce2;hb=b7f6b979d0f889f08e735f35378bb20ba3788b4b;hp=78c62031cab11d78f31d5e0414552807bc662f70;hpb=8fa0e539e52512b80c5c3eac965e3abb98ba484e;p=lyx.git diff --git a/src/frontends/qt4/GuiInclude.cpp b/src/frontends/qt4/GuiInclude.cpp index 78c62031ca..edbf7a19c4 100644 --- a/src/frontends/qt4/GuiInclude.cpp +++ b/src/frontends/qt4/GuiInclude.cpp @@ -31,9 +31,9 @@ #include "insets/InsetListingsParams.h" #include "insets/InsetInclude.h" -#include #include #include +#include #include @@ -153,7 +153,7 @@ void GuiInclude::typeChanged(int v) listingsGB->setEnabled(false); break; } - //see this thread + //see this thread // http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg118471.html //for the reason this is here. okPB->setDefault(true); @@ -214,7 +214,7 @@ void GuiInclude::paramsToDialog(InsetCommandParams const & params_) if (cap[0] == '{' && cap[cap.size() - 1] == '}') { captionLE->setText(toqstr(cap.substr(1, cap.size() - 2))); *it = ""; - } + } } else if (prefixIs(*it, "label=")) { string lbl = it->substr(6); if (lbl[0] == '{' && lbl[lbl.size()-1] == '}') {