mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Prevent crash when clicking on either the external or the include insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8618 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6c9b23105c
commit
21ea61eb81
@ -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:
|
||||
|
@ -472,7 +472,7 @@ void InsetExternal::priv_dispatch(LCursor & cur, FuncRequest & cmd)
|
||||
break;
|
||||
|
||||
default:
|
||||
InsetOld::dispatch(cur, cmd);
|
||||
InsetOld::priv_dispatch(cur, cmd);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -145,7 +145,7 @@ void InsetInclude::priv_dispatch(LCursor & cur, FuncRequest & cmd)
|
||||
break;
|
||||
|
||||
default:
|
||||
InsetOld::dispatch(cur, cmd);
|
||||
InsetOld::priv_dispatch(cur, cmd);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user