Fix crash on printing through the Print dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2007 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2001-05-18 08:22:31 +00:00
parent e5dfa0b9ac
commit 54de7b8ed2
2 changed files with 6 additions and 1 deletions

View File

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

View File

@ -36,7 +36,8 @@ using Liason::getPrinterParams;
using std::make_pair;
ControlPrint::ControlPrint(LyXView & lv, Dialogs & d)
: ControlDialog<ControlConnectBD>(lv, d)
: ControlDialog<ControlConnectBD>(lv, d),
params_(0)
{
d_.showPrint.connect(SigC::slot(this, &ControlPrint::show));
}