From ae8145ed9cfe1abcac0efa954ae4aad346d378fd Mon Sep 17 00:00:00 2001 From: timlinux Date: Sat, 19 Mar 2005 03:15:44 +0000 Subject: [PATCH] More minor updates to histogramming git-svn-id: http://svn.osgeo.org/qgis/trunk@2992 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/qgsrasterlayerproperties.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qgsrasterlayerproperties.cpp b/src/qgsrasterlayerproperties.cpp index 5d91cada47b..f8a4706fd43 100644 --- a/src/qgsrasterlayerproperties.cpp +++ b/src/qgsrasterlayerproperties.cpp @@ -1078,6 +1078,7 @@ void QgsRasterLayerProperties::pbnHistRefresh_clicked() myPainter.drawRect(myX+myYGutterWidth,myImageHeight-(myY+myXGutterHeight),myBarWidth,myY); } //store this point in our line too + myY = myGraphImageHeight - myY; myPointArray.setPoint(myBin, myX+myYGutterWidth, myY-myXGutterHeight); } //draw a line on the graph along the bar peaks;