From d8f9ca8c9c56b59eaa3207116e528a8bb40ed1fb Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 28 Aug 2002 23:43:06 +0000 Subject: [PATCH] remove wrong copied code git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5146 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt2/ChangeLog | 4 ++++ src/frontends/qt2/QInclude.C | 10 ---------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index b6327a8213..8e26ee5402 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,7 @@ +2002-08-29 John Levon + + * QInclude.C: remove some wrong code removed from xforms + 2002-08-29 John Levon * qfont_metrics.C: add per char ascent/descent diff --git a/src/frontends/qt2/QInclude.C b/src/frontends/qt2/QInclude.C index 73a9b928f2..64cabc4f47 100644 --- a/src/frontends/qt2/QInclude.C +++ b/src/frontends/qt2/QInclude.C @@ -49,20 +49,10 @@ void QInclude::build_dialog() void QInclude::update_contents() { - if (controller().params().noload) { - dialog_->filenameED->setText(""); - dialog_->typesetCB->setChecked(false); - dialog_->visiblespaceCB->setChecked(false); - dialog_->visiblespaceCB->setEnabled(false); - //dialog_->typeCO->setEnabled(true); - return; - } - dialog_->filenameED->setText(controller().params().cparams.getContents().c_str()); string const cmdname = controller().params().cparams.getCmdName(); - // FIXME: ?? dialog_->typesetCB->setChecked(controller().params().noload); dialog_->visiblespaceCB->setChecked(false);