[Kst] kdeextragear-2/kst/kst

Rick Chern rchern at interchange.ubc.ca
Tue Aug 3 20:31:09 CEST 2004


CVS commit by rchern: 

Don't let multiple markers to be created by holding down Insert and moving cursor


  M +1 -1      kst2dplot.cpp   1.194


--- kdeextragear-2/kst/kst/kst2dplot.cpp  #1.193:1.194
@@ -3472,5 +3472,5 @@ void Kst2DPlot::keyPressEvent(QWidget *v
       break;
     case Key_Insert:
-      if (GetPlotRegion().contains(cursorPos)) {
+      if (!e->isAutoRepeat() && GetPlotRegion().contains(cursorPos)) {
         if (_xLog) {
           setPlotMarker(pow(10,((cursorPos.x() - position().x() - _b_X) / _m_X)));





More information about the Kst mailing list