[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Jan 28 04:55:45 CET 2004


CVS commit by staikos: 

did tied zoom ever work properly?  This makes it zoom the proper graphs


  M +3 -3      kstview.cpp   1.77


--- kdeextragear-2/kst/kst/kstview.cpp  #1.76:1.77
@@ -806,5 +806,5 @@ void KstView::mouseReleaseEvent(QMouseEv
       for (i_plot = 0; i_plot < count; i_plot++) {
         iplot = KST::plotList.at(i_plot);
-        if (plot == iplot || iplot->isTied()) {
+        if (plot == iplot || (iplot->isTied() && plot->isTied())) {
           iplot->setXScaleMode(FIXED);
           iplot->setYScaleMode(FIXED);
@@ -832,5 +832,5 @@ void KstView::mouseReleaseEvent(QMouseEv
       for (i_plot = 0; i_plot < count; i_plot++) {
         iplot = KST::plotList.at(i_plot);
-        if (plot == iplot || iplot->isTied()) {
+        if (plot == iplot || (iplot->isTied() && plot->isTied())) {
           iplot->setYScaleMode(FIXED);
           iplot->setLYScale(new_ymin, new_ymax);
@@ -858,5 +858,5 @@ void KstView::mouseReleaseEvent(QMouseEv
       for (i_plot = 0; i_plot < count; i_plot++) {
         iplot = KST::plotList.at(i_plot);
-        if (plot == iplot || iplot->isTied()) {
+        if (plot == iplot || (iplot->isTied() && plot->isTied())) {
           iplot->setXScaleMode(FIXED);
           iplot->setLXScale(new_xmin, new_xmax);





More information about the Kst mailing list