[Kst] kst_hfi_calib_branch: kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Thu Nov 18 01:09:10 CET 2004


CVS commit by staikos: 

allow full precision here


  M +6 -6      kstplotdialog_i.cpp   1.111.2.1


--- kdeextragear-2/kst/kst/kstplotdialog_i.cpp  #1.111:1.111.2.1
@@ -364,11 +364,11 @@ void KstPlotDialogI::update(int new_inde
     plot->getScale(xmin, ymin, xmax, ymax);
 
-    XFixedMin->setText(QString::number(xmin));
-    XFixedMax->setText(QString::number(xmax));
-    YFixedMin->setText(QString::number(ymin));
-    YFixedMax->setText(QString::number(ymax));
+    XFixedMin->setText(QString::number(xmin, 'g', 16));
+    XFixedMax->setText(QString::number(xmax, 'g', 16));
+    YFixedMin->setText(QString::number(ymin, 'g', 16));
+    YFixedMax->setText(QString::number(ymax, 'g', 16));
 
-    XACRange->setText(QString::number(xmax - xmin));
-    YACRange->setText(QString::number(ymax - ymin));
+    XACRange->setText(QString::number(xmax - xmin, 'g', 16));
+    YACRange->setText(QString::number(ymax - ymin, 'g', 16));
 
     switch (plot->xScaleMode()) {





More information about the Kst mailing list