reenable hide signal

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@949 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2000-08-02 11:33:05 +00:00
parent 644db02921
commit 155f03b4a4
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2000-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
* 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 <Jean-Marc.Lasgouttes@inria.fr>
* src/frontends/xforms/Menubar_pimpl.C (create_submenu): try to

View File

@ -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<void> hide;
Signal0<void> hide;
private:
///
InsetCommandParams p_;

View File

@ -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;