Fix for Kayvan's reported crash in the preamble. Same, uninitialised

pointer problem as last time. The good news is, I think that's them all.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2013 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2001-05-18 15:33:34 +00:00
parent b71c0f9f49
commit 113603af15
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
* ControlPrint.C (c-tor): initialise params_ and thereby cure crash.
* ControlPrint.C (c-tor):
* ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>

View File

@ -24,7 +24,8 @@
ControlPreamble::ControlPreamble(LyXView & lv, Dialogs & d)
: ControlDialog<ControlConnectBD>(lv, d)
: ControlDialog<ControlConnectBD>(lv, d),
params_(0)
{
d_.showPreamble.connect(SigC::slot(this, &ControlPreamble::show));
}