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

Mike Fenton mike at staikos.net
Fri May 29 22:39:51 CEST 2009


SVN commit 975318 by fenton:

Fix update delay on log axis changes.


 M  +2 -2      plotitem.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/plotitem.cpp #975317:975318
@@ -3370,7 +3370,7 @@
  */
 void ZoomXLogCommand::applyZoomTo(PlotItem *item) {
   item->xAxis()->setAxisLog(_enableLog);
-  item->setProjectionRect(item->computedProjectionRect()); //need to recompute
+  item->setProjectionRect(item->computedProjectionRect(), true); //need to recompute
 }
 
 
@@ -3379,7 +3379,7 @@
  */
 void ZoomYLogCommand::applyZoomTo(PlotItem *item) {
   item->yAxis()->setAxisLog(_enableLog);
-  item->setProjectionRect(item->computedProjectionRect()); //need to recompute
+  item->setProjectionRect(item->computedProjectionRect(), true); //need to recompute
 }
 
 


More information about the Kst mailing list