r15964 by craig - #9501: Fix search/replace font size unit
scribus-commit
scribus-commit at lists.scribus.net
Tue Nov 23 21:22:37 CET 2010
Author: craig
Date: Tue Nov 23 20:22:37 2010
New Revision: 15964
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15964
Log:
#9501: Fix search/replace font size unit
Modified:
trunk/Scribus/scribus/ui/search.cpp
Modified: trunk/Scribus/scribus/ui/search.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15964&path=/trunk/Scribus/scribus/ui/search.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/search.cpp (original)
+++ trunk/Scribus/scribus/ui/search.cpp Tue Nov 23 20:22:37 2010
@@ -114,7 +114,7 @@
setCurrentComboItem(SFontVal, doc->currentStyle.charStyle().font().scName());
SFontVal->setEnabled(false);
SearchLayout->addWidget( SFontVal, 2, 1 );
- SSizeVal = new ScrSpinBox( 0.5, 2048, Search, 1 );
+ SSizeVal = new ScrSpinBox( 0.5, 2048, Search, 0 );
SSizeVal->setValue( doc->currentStyle.charStyle().fontSize() / 10.0 );
SSizeVal->setEnabled(false);
SearchLayout->addWidget( SSizeVal, 3, 1 );
@@ -201,7 +201,7 @@
setCurrentComboItem(RFontVal, doc->currentStyle.charStyle().font().scName());
RFontVal->setEnabled(false);
ReplaceLayout->addWidget( RFontVal, 2, 1 );
- RSizeVal = new ScrSpinBox( 0.5, 2048, Replace, 1 );
+ RSizeVal = new ScrSpinBox( 0.5, 2048, Replace, 0 );
RSizeVal->setValue( doc->currentStyle.charStyle().fontSize() / 10.0 );
RSizeVal->setEnabled(false);
ReplaceLayout->addWidget( RSizeVal, 3, 1 );
More information about the scribus-commit
mailing list