Patch. No Changelog...
-- Martin Vermeer [EMAIL PROTECTED] Helsinki University of Technology Dept. of Surveying, Inst. of Geodesy P.O. Box 1200, FIN-02015 HUT, Finland :wq
Index: text3.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text3.C,v
retrieving revision 1.175
diff -u -p -r1.175 text3.C
--- text3.C 11 Nov 2003 10:08:35 -0000 1.175
+++ text3.C 11 Nov 2003 13:01:21 -0000
@@ -1528,6 +1534,7 @@ DispatchResult LyXText::dispatch(FuncReq
break;
case LFUN_INDEX_INSERT:
+ case LFUN_INSERT_LABEL:
// Just open the inset
doInsertInset(this, cmd, true, false);
break;
Index: factory.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/factory.C,v
retrieving revision 1.67
diff -u -p -r1.67 factory.C
--- factory.C 10 Nov 2003 09:06:34 -0000 1.67
+++ factory.C 11 Nov 2003 13:01:21 -0000
@@ -278,6 +285,12 @@ InsetOld * createInset(FuncRequest const
}
}
+ case LFUN_INSERT_LABEL: {
+ InsetCommandParams icp;
+ InsetCommandMailer::string2params(cmd.argument, icp);
+ return new InsetLabel(icp);
+ }
+
case LFUN_SPACE_INSERT: {
string const name = cmd.argument;
if (name == "normal")
pgp00000.pgp
Description: PGP signature
