[Kst] branches/work/kst/portto4/kst/src/libkstapp

Adam Treat treat at kde.org
Thu Oct 11 18:33:17 CEST 2007


SVN commit 724161 by treat:

* Need to recompute here in case of auto/autoborder modes


 M  +2 -0      plotrenderitem.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/plotrenderitem.cpp #724160:724161
@@ -577,6 +577,7 @@
 void PlotRenderItem::zoomLogX() {
   qDebug() << "zoomLogX" << endl;
   setXAxisLog(_zoomLogX->isChecked());
+  setProjectionRect(computedProjectionRect()); //need to recompute
   update();
 }
 
@@ -622,6 +623,7 @@
 void PlotRenderItem::zoomLogY() {
   qDebug() << "zoomLogY" << endl;
   setYAxisLog(_zoomLogY->isChecked());
+  setProjectionRect(computedProjectionRect()); //need to recompute
   update();
 }
 


More information about the Kst mailing list