View Issue Details

IDProjectCategoryView StatusLast Update
0007520ScribusCanvaspublic2008-10-17 19:56
ReporterBAlpha Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformi686OSFedora LinuxOS Version9
Product Version1.3.5svn 
Fixed in Version1.3.5svn 
Summary0007520: Measurements Palette shows wrong dy value
DescriptionFix attached.
TagsNo tags attached.
Patch

Activities

2008-10-17 15:52

 

measurements.cpp.patch (1,096 bytes)   
Index: measurements.cpp
===================================================================
--- measurements.cpp	(Revision 12708)
+++ measurements.cpp	(Arbeitskopie)
@@ -84,7 +84,7 @@
 	uInd = unitSwitchDX->currentIndex();
 	dXData->setText(tmp.setNum(qRound(mDX*unitGetRatioFromIndex(uInd)*unitGetDecimalsFromIndex(uInd)) / static_cast<double>(unitGetDecimalsFromIndex(uInd)), 'f', unitGetPrecisionFromIndex(uInd)));
 	uInd = unitSwitchDY->currentIndex();
-	dYData->setText(tmp.setNum(qRound(mDX*unitGetRatioFromIndex(uInd)*unitGetDecimalsFromIndex(uInd)) / static_cast<double>(unitGetDecimalsFromIndex(uInd)), 'f', unitGetPrecisionFromIndex(uInd)));
+	dYData->setText(tmp.setNum(qRound(mDY*unitGetRatioFromIndex(uInd)*unitGetDecimalsFromIndex(uInd)) / static_cast<double>(unitGetDecimalsFromIndex(uInd)), 'f', unitGetPrecisionFromIndex(uInd)));
 	uInd = unitSwitchLength->currentIndex();
 	lengthData->setText(tmp.setNum(qRound(mLength*unitGetRatioFromIndex(uInd)*unitGetDecimalsFromIndex(uInd)) / static_cast<double>(unitGetDecimalsFromIndex(uInd)), 'f', unitGetPrecisionFromIndex(uInd)));
 }
measurements.cpp.patch (1,096 bytes)   

jghali

2008-10-17 17:40

administrator   ~0020456

Patch applied! Thanks!

Issue History

Date Modified Username Field Change
2008-10-17 15:52 BAlpha New Issue
2008-10-17 15:52 BAlpha File Added: measurements.cpp.patch
2008-10-17 17:40 jghali Note Added: 0020456
2008-10-17 17:40 jghali Status new => resolved
2008-10-17 17:40 jghali Fixed in Version => 1.3.5svn
2008-10-17 17:40 jghali Resolution open => fixed
2008-10-17 17:40 jghali Assigned To => jghali
2008-10-17 19:56 cbradney Status resolved => closed