[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Tue Aug 31 22:04:45 CEST 2004


CVS commit by arwalker: 

Ensure that the plot dialog is upated when the user modifies a plot setting through a mouse operation. Previously if the user zoomed in with the mouse and the plot dialog was open to the plot being worked upon then the plot dialog would not update with the new axes settings.

CCMAIL: 87001-done at bugs.kde.org


  M +3 -2      kst2dplot.cpp   1.257


--- kdeextragear-2/kst/kst/kst2dplot.cpp  #1.256:1.257
@@ -2778,4 +2777,5 @@ void Kst2DPlot::mouseReleaseEvent(QWidge
     setDirty();
     static_cast<KstViewWidget*>(view)->paint();
+    emit modified();
   }
 }
@@ -3442,4 +3442,5 @@ void Kst2DPlot::keyPressEvent(QWidget *v
       } else if (s & Qt::ControlButton) {
         xZoomMax(view);
+        view->paint();
       } else {
         zoomMax(view);
@@ -3501,5 +3502,4 @@ void Kst2DPlot::keyPressEvent(QWidget *v
         }
         setDirty();
-        emit modified();
       }
       break;
@@ -3512,4 +3512,5 @@ void Kst2DPlot::keyPressEvent(QWidget *v
     view->paint();
     e->accept();
+    emit modified();
     return;
   }





More information about the Kst mailing list