[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Fri Oct 22 20:02:57 CEST 2004


CVS commit by arwalker: 

Override any saved settings for the x-axis and y-axis base values, just in case they are corrupted in the .kst file.


  M +4 -0      kst2dplot.cpp   1.287


--- kdeextragear-2/kst/kst/kst2dplot.cpp  #1.286:1.287
@@ -327,4 +327,6 @@ Kst2DPlot::Kst2DPlot(QDomElement& e)
     delete XFullTickLabel;
     XFullTickLabel = in_xfullticklabel;
+    XFullTickLabel->setJustification(LxBy);
+    XFullTickLabel->setRotation(0);
     XFullTickLabel->setDoScalarReplacement(false);
   }
@@ -333,4 +335,6 @@ Kst2DPlot::Kst2DPlot(QDomElement& e)
     delete YFullTickLabel;
     YFullTickLabel = in_yfullticklabel;
+    YFullTickLabel->setJustification(LxTy);
+    YFullTickLabel->setRotation(270);
     YFullTickLabel->setDoScalarReplacement(false);
   }





More information about the Kst mailing list