r15963 by craig - #9501: Fix search/replace font size unit
scribus-commit
scribus-commit at lists.scribus.net
Tue Nov 23 21:22:27 CET 2010
Author: craig
Date: Tue Nov 23 20:22:27 2010
New Revision: 15963
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15963
Log:
#9501: Fix search/replace font size unit
Modified:
branches/Version135/Scribus/scribus/search.cpp
Modified: branches/Version135/Scribus/scribus/search.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15963&path=/branches/Version135/Scribus/scribus/search.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/search.cpp (original)
+++ branches/Version135/Scribus/scribus/search.cpp Tue Nov 23 20:22:27 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