On Wed, 2005-04-20 at 00:59, Helge Hafting wrote:
> Lyx allow custom bullets for the bulleted list. There is a nice selection
> from available fonts, and even an option for entering your own
> latex command for a custom bullet.  Great for using an image,
> for example.
> 
> All this works, but there is a problem with custom bullets,
> it is hard to make changes.  Re-open the custom bullet
> dialog, and the previous custom bullet is gone.  I get a blank
> box, instead of an opportunity to adjust my existing custom bullet.
> Of course I can get at the command by "export->latex" but that
> is cumbersome.
> 
> Helge Hafting

Here's the fix.

OK to commit?

- Martin
Index: BulletsModule.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/qt2/BulletsModule.C,v
retrieving revision 1.24
diff -u -p -r1.24 BulletsModule.C
--- BulletsModule.C	19 Aug 2004 06:30:43 -0000	1.24
+++ BulletsModule.C	20 Apr 2005 12:01:15 -0000
@@ -304,7 +304,7 @@ void BulletsModule::setCustom()
 		qt_( "Bullets" ),
 		qt_( "Enter a custom bullet" ),
 		QLineEdit::Normal,
-		QString::null, &ok, this );
+		toqstr(tmpbullet.getText()), &ok, this );
 
 	if (!ok)
 		return;

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to