]> git.lyx.org Git - features.git/commitdiff
Prevent crash when clicking on either the external or the include insets.
authorAngus Leeming <leeming@lyx.org>
Wed, 7 Apr 2004 09:25:31 +0000 (09:25 +0000)
committerAngus Leeming <leeming@lyx.org>
Wed, 7 Apr 2004 09:25:31 +0000 (09:25 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8618 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ChangeLog
src/insets/insetexternal.C
src/insets/insetinclude.C

index 6e4d931debf5171c5fbe6316f653aff9fff38f91..c7486f4c381527c7defdf84162450ab329144524 100644 (file)
@@ -1,3 +1,10 @@
+2004-04-07  Angus Leeming  <angus@localhost.localdomain>
+
+       * insetexternal.C (priv_dispatch): 
+       * insetinclude.C (priv_dispatch): prevent crash by invoking
+       InsetOld::priv_dispatch at the end of the switch, rather than
+       InsetOld::dispatch...
+
 2004-04-07  Martin Vermeer  <martin.vermeer@hut.fi>
 
        * insetcollapsable.C:
index 870dcf6bee4b84326f1a6b2451d73060279be8c4..d4e1796402106a211140efc6ccebe63c7f588726 100644 (file)
@@ -472,7 +472,7 @@ void InsetExternal::priv_dispatch(LCursor & cur, FuncRequest & cmd)
                break;
 
        default:
-               InsetOld::dispatch(cur, cmd);
+               InsetOld::priv_dispatch(cur, cmd);
        }
 }
 
index 09745bdfdb639b5465117d7f775b4f7be88db1be..4d1381a60596369f66e13999c17acbbe6d43d7b7 100644 (file)
@@ -145,7 +145,7 @@ void InsetInclude::priv_dispatch(LCursor & cur, FuncRequest & cmd)
                break;
 
        default:
-               InsetOld::dispatch(cur, cmd);
+               InsetOld::priv_dispatch(cur, cmd);
                break;
        }
 }