mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-31 07:45:44 +00:00
fix crash on custom bullet cancel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5854 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
40c5065b5c
commit
098a9edf78
@ -260,9 +260,11 @@ void BulletsModule::setCustom()
|
||||
qt_( "Enter a custom bullet" ),
|
||||
QLineEdit::Normal,
|
||||
QString::null, &ok, this );
|
||||
|
||||
activeitem_->setPixmap(0,QPixmap());
|
||||
activeitem_->setText(0,text);
|
||||
activebullet_->setText(fromqstr(text));
|
||||
activebullet_->setFont(-1);
|
||||
|
||||
if (ok) {
|
||||
activeitem_->setPixmap(0,QPixmap());
|
||||
activeitem_->setText(0,text);
|
||||
activebullet_->setText(fromqstr(text));
|
||||
activebullet_->setFont(-1);
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,7 @@
|
||||
2002-12-18 Edwin Leuven <e.leuven@uva.nl>
|
||||
|
||||
* BulletsModule.C: fix crash on custom bullet cancel
|
||||
|
||||
2002-12-18 John Levon <levon@movementarian.org>
|
||||
|
||||
* qfont_loader.C: symbol should not match "Standard Symbols 1"
|
||||
|
Loading…
Reference in New Issue
Block a user