[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Tue Jul 27 02:08:24 CEST 2004


CVS commit by arwalker: 

I'm guessing that a check for the datamode is quicker than the check for a mutex.


  M +4 -2      kst2dplot.cpp   1.181


--- kdeextragear-2/kst/kst/kst2dplot.cpp  #1.180:1.181
@@ -982,6 +982,8 @@ void Kst2DPlot::paint(KstPaintType type,
     // we might need to redraw the datamode marker...
     //
-    if (!_highlighting.locked()) {
       if (KstApp::inst()->dataMode()) {
+      if (!_highlighting.locked()) {
+        _copy_x = _copy_y = KST::NOPOINT;
+
         KstTopLevelViewPtr tlv = KstApp::inst()->activeView();
         if (tlv) {





More information about the Kst mailing list