Michael Schmitt wrote:

> - In the "external material" dialog, "apply" is not activated if you enter the file 
>name by hand



attached a patch

Herbert




-- 
http://www.lyx.org/help/
Index: src/frontends/xforms/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/ChangeLog,v
retrieving revision 1.255
diff -u -r1.255 ChangeLog
--- src/frontends/xforms/ChangeLog      2002/01/18 12:18:20     1.255
+++ src/frontends/xforms/ChangeLog      2002/01/19 10:00:02
@@ -1,3 +1,8 @@
+2002-01-16  Herbert Voss  <[EMAIL PROTECTED]>
+
+       * FormExternal.C (build): activate  apply/ok-button when something
+       is entered in the filename-field
+
 2002-01-16  Angus Leeming  <[EMAIL PROTECTED]>
 
        * FormMathsBitmap.C (apply): fix bug caused by using 'unsigned int'
Index: src/frontends/xforms/FormExternal.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/FormExternal.C,v
retrieving revision 1.9
diff -u -r1.9 FormExternal.C
--- src/frontends/xforms/FormExternal.C 2001/06/13 15:11:16     1.9
+++ src/frontends/xforms/FormExternal.C 2002/01/19 10:00:02
@@ -53,6 +53,7 @@
        string const choice =
            " " + getStringFromVector(controller().getTemplates(), " | ") + " ";
        fl_addto_choice(dialog_->choice_template, choice.c_str());
+       fl_set_input_return (dialog_->input_filename, FL_RETURN_CHANGED);
 
        bc().setOK(dialog_->button_ok);
        bc().setApply(dialog_->button_apply);

Reply via email to