Abdelrazak Younes wrote:
> Richard Heck wrote:
>> http://bugzilla.lyx.org/show_bug.cgi?id=3416
>>
>> Committing if no objection.
> Where's the patch?
Here, of course. ;-)

Richard

-- 
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

Index: QDocumentDialog.C
===================================================================
--- QDocumentDialog.C	(revision 17717)
+++ QDocumentDialog.C	(working copy)
@@ -240,6 +240,14 @@
 	connect(marginsModule->headsepUnit, SIGNAL(activated(int)), this, SLOT(change_adaptor()));
 	connect(marginsModule->footskipLE, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor()));
 	connect(marginsModule->footskipUnit, SIGNAL(activated(int)), this, SLOT(change_adaptor()));
+	//remove the %-items from the unit choices
+	marginsModule->topUnit->noPercents();
+	marginsModule->bottomUnit->noPercents();
+	marginsModule->innerUnit->noPercents();
+	marginsModule->outerUnit->noPercents();
+	marginsModule->headsepUnit->noPercents();
+	marginsModule->headheightUnit->noPercents();
+	marginsModule->footskipUnit->noPercents();
 	marginsModule->topLE->setValidator(unsignedLengthValidator(
 		marginsModule->topLE));
 	marginsModule->bottomLE->setValidator(unsignedLengthValidator(

Reply via email to