1
0
mirror of https://git.lyx.org/repos/lyx.git synced 2025-01-04 16:42:57 +00:00

unbork insetinclude

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5775 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-12-04 12:07:48 +00:00
parent fd36ae426a
commit 654b750546
2 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-12-04 John Levon <levon@movementarian.org>
* insetinclude.C: ressurect setting of command name
2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
* insetquotes.C (dispString): disambiguate insert call

View File

@ -139,6 +139,25 @@ void InsetInclude::set(Params const & p)
{
params_ = p;
string command;
switch (params_.flag) {
case INCLUDE:
command="include";
break;
case VERB:
command="verbatiminput";
break;
case INPUT:
command="input";
break;
case VERBAST:
command="verbatiminput*";
break;
}
params_.cparams.setCmdName(command);
if (preview_->monitoring())
preview_->stopMonitoring();