mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
type can be empty !
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3495 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8e3456ec01
commit
832f620398
@ -1,4 +1,9 @@
|
||||
2002-02-06 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* QToc.C: fix crash
|
||||
|
||||
2002-02-06 Edwin Leuven <leuven@fee.uva.nl>
|
||||
|
||||
* QGraphics.C: compilation fix
|
||||
* QTexinfoDialog.C:
|
||||
* QTexinfoDialog.h:
|
||||
@ -6,11 +11,11 @@
|
||||
|
||||
2002-01-31 Edwin Leuven <leuven@fee.uva.nl>
|
||||
|
||||
* qt2/QGraphics.C
|
||||
* qt2/QGraphics.h
|
||||
* qt2/QGraphicsDialog.C
|
||||
* qt2/QGraphicsDialog.h
|
||||
* qt2/lengthcombo.C
|
||||
* qt2/QGraphics.C:
|
||||
* qt2/QGraphics.h:
|
||||
* qt2/QGraphicsDialog.C:
|
||||
* qt2/QGraphicsDialog.h:
|
||||
* qt2/lengthcombo.C:
|
||||
* qt2/ui/QGraphicsDialog.ui: new dialog
|
||||
* qt2/QAbout.C:
|
||||
* qt2/ui/QAboutDialog.ui: reduce size
|
||||
|
@ -76,7 +76,8 @@ void QToc::update_contents()
|
||||
|
||||
void QToc::updateToc(int newdepth)
|
||||
{
|
||||
string const type = dialog_->typeCO->currentText().latin1();
|
||||
char const * str = dialog_->typeCO->currentText().latin1();
|
||||
string type (str ? str : "");
|
||||
|
||||
Buffer::SingleList const & contents = controller().getContents(type);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user