From 5643c7ddeef24ba8abc738d1791f02a728156b34 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Wed, 8 May 2002 18:13:09 +0000 Subject: [PATCH] Back out potentially buggy patch. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4144 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/xforms/ChangeLog | 5 ----- src/frontends/xforms/FormInclude.C | 2 -- 2 files changed, 7 deletions(-) diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 9b2ceb121e..2018b1c223 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,8 +1,3 @@ -2002-05-08 Herbert Voss - - * FormInclude.C (input): disable load-button, when verbatim - is enabled - 2002-05-06 Angus Leeming * FormBase.C (show): diff --git a/src/frontends/xforms/FormInclude.C b/src/frontends/xforms/FormInclude.C index 16aaf6bc36..d40f600c24 100644 --- a/src/frontends/xforms/FormInclude.C +++ b/src/frontends/xforms/FormInclude.C @@ -140,13 +140,11 @@ ButtonPolicy::SMInput FormInclude::input(FL_OBJECT * ob, long) } else if (ob == dialog_->radio_verbatim) { setEnabled(dialog_->check_visiblespace, true); - setEnabled(dialog_->button_load, false); } else if (ob == dialog_->radio_useinclude || ob == dialog_->radio_useinput) { fl_set_button(dialog_->check_visiblespace, 0); setEnabled(dialog_->check_visiblespace, false); - setEnabled(dialog_->button_load, true); } else if (ob == dialog_->input_filename) { string const in_name = fl_get_input(dialog_->input_filename);