diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index cbd849f718..966f0df708 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,7 @@ +2002-12-04 John Levon + + * insetinclude.C: ressurect setting of command name + 2002-12-02 Lars Gullik Bjønnes * insetquotes.C (dispString): disambiguate insert call diff --git a/src/insets/insetinclude.C b/src/insets/insetinclude.C index 4aea2aee1b..3a372a40be 100644 --- a/src/insets/insetinclude.C +++ b/src/insets/insetinclude.C @@ -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();