From: Lars Gullik Bjønnes Date: Wed, 2 Aug 2000 11:33:05 +0000 (+0000) Subject: reenable hide signal X-Git-Tag: 1.6.10~22058 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=155f03b4a4f5dc72ebe70d962154aaa01890a5b1;p=features.git reenable hide signal git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@949 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/ChangeLog b/ChangeLog index 87cf60f04f..503fd4ec51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2000-08-02 Lars Gullik Bjønnes + + * src/insets/insetref.C (Latex): rewrite so that there is now + question that a initialization is requested. + + * src/insets/insetcommand.h: reenable the hide signal + 2000-08-01 Jean-Marc Lasgouttes * src/frontends/xforms/Menubar_pimpl.C (create_submenu): try to diff --git a/src/insets/insetcommand.h b/src/insets/insetcommand.h index 524cfa9fb2..81f58781c5 100644 --- a/src/insets/insetcommand.h +++ b/src/insets/insetcommand.h @@ -78,7 +78,7 @@ public: explicit InsetCommand(InsetCommandParams const &); /// - virtual ~InsetCommand() { /*hide();*/ }; + virtual ~InsetCommand() { hide(); }; /// void Write(Buffer const *, std::ostream &) const; @@ -129,7 +129,7 @@ public: /// void setParams(InsetCommandParams const &); /// - //Signal0 hide; + Signal0 hide; private: /// InsetCommandParams p_; diff --git a/src/insets/insetref.C b/src/insets/insetref.C index b211db9ff5..6d1b80d781 100644 --- a/src/insets/insetref.C +++ b/src/insets/insetref.C @@ -102,8 +102,8 @@ int InsetRef::Latex(Buffer const *, ostream & os, os << escape(getCommand()); else { string ns; - InsetCommand clone = InsetCommand(getCmdName(), - getContents(), ns); + InsetCommand clone(getCmdName(), + getContents(), ns); os << escape(clone.getCommand()); } return 0;