View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007520 | Scribus | Canvas | public | 2008-10-17 15:52 | 2008-10-17 19:56 |
Reporter | BAlpha | Assigned To | jghali | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | i686 | OS | Fedora Linux | OS Version | 9 |
Product Version | 1.3.5svn | ||||
Fixed in Version | 1.3.5svn | ||||
Summary | 0007520: Measurements Palette shows wrong dy value | ||||
Description | Fix attached. | ||||
Tags | No tags attached. | ||||
Patch | |||||
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))); } |
|
Patch applied! Thanks! |
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 |