diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index 6d97e6233d..693bd57be4 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -653,10 +653,6 @@ GuiDocument::GuiDocument(GuiView & lv) this, SLOT(change_adaptor())); connect(outputModule->xetexCB, SIGNAL(toggled(bool)), this, SLOT(xetexChanged(bool))); - connect(outputModule->outputsyncCB, SIGNAL(clicked()), - this, SLOT(change_adaptor())); - connect(outputModule->synccustomCB, SIGNAL(editTextChanged(QString)), - this, SLOT(change_adaptor())); connect(outputModule->defaultFormatCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); connect(outputModule->mathimgSB, SIGNAL(valueChanged(double)), @@ -666,6 +662,14 @@ GuiDocument::GuiDocument(GuiView & lv) connect(outputModule->mathoutCB, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor())); + connect(outputModule->outputsyncCB, SIGNAL(clicked()), + this, SLOT(change_adaptor())); + connect(outputModule->synccustomCB, SIGNAL(editTextChanged(QString)), + this, SLOT(change_adaptor())); + outputModule->synccustomCB->addItem(""); + outputModule->synccustomCB->addItem("\\synctex=1"); + outputModule->synccustomCB->addItem("\\synctex=-1"); + outputModule->synccustomCB->addItem("\\usepackage[active]{srcltx}"); // fonts fontModule = new UiWidget; diff --git a/src/frontends/qt4/ui/OutputUi.ui b/src/frontends/qt4/ui/OutputUi.ui index 58bd0d2b6c..9b46c4fab2 100644 --- a/src/frontends/qt4/ui/OutputUi.ui +++ b/src/frontends/qt4/ui/OutputUi.ui @@ -5,8 +5,8 @@ 0 0 - 335 - 310 + 388 + 334 @@ -106,26 +106,6 @@ true - - - - - - - - \synctex=1 - - - - - \synctex=-1 - - - - - \usepackage[active]{srcltx} - -