It does not work because qt cannot read the file mask strings given in 
ControlInclude. The patch modifies them (also tested with xforms).
The same is still broken for insert->ASCII (as lines|as paragraphs).

Thanks,
Jürgen.
Index: src/frontends/controllers/ChangeLog
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/controllers/ChangeLog,v
retrieving revision 1.254
diff -u -r1.254 ChangeLog
--- src/frontends/controllers/ChangeLog	2002/11/13 02:22:47	1.254
+++ src/frontends/controllers/ChangeLog	2002/11/14 14:42:54
@@ -1,3 +1,7 @@
+2002-11-14  Juergen Spitzmueller <[EMAIL PROTECTED]>
+
+	* ControlInclude.C: fix file format masks for qt's use
+
 2002-11-13  John Levon  <[EMAIL PROTECTED]>
 
 	* Makefile.am:
Index: src/frontends/controllers/ControlInclude.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/controllers/ControlInclude.C,v
retrieving revision 1.30
diff -u -r1.30 ControlInclude.C
--- src/frontends/controllers/ControlInclude.C	2002/10/21 17:38:08	1.30
+++ src/frontends/controllers/ControlInclude.C	2002/11/14 14:42:54
@@ -55,15 +55,15 @@
 	string pattern;
 	switch (in_type) {
 	case INPUT:
-	    pattern = _("*.(tex|lyx)| LaTeX/LyX Documents");
+	    pattern = _("*.(tex|lyx)| LaTeX/LyX Documents (*.tex *.lyx)");
 	    break;
 
 	case VERBATIM:
-	    pattern = _("*| All files ");
+	    pattern = _("*| All files (*)");
 	    break;
 
 	case INCLUDE:
-	    pattern = _("*.(tex|lyx)| LaTeX/LyX Documents");
+	    pattern = _("*.(tex|lyx)| LaTeX/LyX Documents (*.tex *.lyx)");
 	    break;
 	}

Reply via email to