From: Pavel Sanda Date: Wed, 8 Sep 2010 15:09:10 +0000 (+0000) Subject: Switch on CT in comparison result X-Git-Tag: 2.0.0~2653 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=22434db5028ccaf91ceea0bb625860afc45b458c;p=features.git Switch on CT in comparison result git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35326 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiCompare.cpp b/src/frontends/qt4/GuiCompare.cpp index 2867ae7c99..49c6c130f3 100644 --- a/src/frontends/qt4/GuiCompare.cpp +++ b/src/frontends/qt4/GuiCompare.cpp @@ -62,6 +62,7 @@ GuiCompare::GuiCompare(GuiView & lv) this, SLOT(changeAdaptor())); newSettingsRB->setChecked(true); + trackingCB->setChecked(true); closePB->setCursor(Qt::ArrowCursor); @@ -220,6 +221,10 @@ void GuiCompare::finished(bool aborted) if (dest_buffer_) { dispatch(FuncRequest(LFUN_BUFFER_SWITCH, dest_buffer_->absFileName())); + if (trackingCB->isChecked()) { + dispatch(FuncRequest(LFUN_CHANGES_OUTPUT)); + dispatch(FuncRequest(LFUN_CHANGES_TRACK)); + } } statusBar->showMessage(qt_("Finished"), 5000); } diff --git a/src/frontends/qt4/ui/CompareUi.ui b/src/frontends/qt4/ui/CompareUi.ui index 5c14bacab8..b2d2ad896d 100644 --- a/src/frontends/qt4/ui/CompareUi.ui +++ b/src/frontends/qt4/ui/CompareUi.ui @@ -1,106 +1,106 @@ - + CompareUi - - + + 0 0 450 - 246 + 294 - + - - - - + + + + &New Document: - + newFileCB - - - - + + + + 0 0 - + true - - - + + + &Browse... - + false - - - + + + &Old Document: - + oldFileCB - - - - + + + + 0 0 - + true - - - + + + Bro&wse... - + false - - - - + + + + 0 0 - + Copy Document Settings from: - + - - + + N&ew Document - - + + Ol&d Document @@ -108,27 +108,27 @@ - - - + + + 24 - + Qt::Horizontal - - + + - + Qt::Horizontal - + QSizePolicy::Expanding - + 20 20 @@ -137,40 +137,53 @@ - - + + - + &OK - + true - - + + &Close - + false - + false - - + + + + + + + Turns on the change tracking and showing changes in LaTeX output for the resulting document + + + Enable &change tracking features in the output + + + false + + - qt_i18n.h + qt_i18n.h