[Kst] branches/work/kst/portto4/kst/src/libkstmath

Barth Netterfield netterfield at astro.utoronto.ca
Wed Oct 10 15:10:00 UTC 2012


SVN commit 1320059 by netterfield:

If an equation has a manual name, use that as the top label, rather than
the equation itself.


 M  +4 -1      equation.cpp  


--- branches/work/kst/portto4/kst/src/libkstmath/equation.cpp #1320058:1320059
@@ -265,8 +265,11 @@
   LabelInfo label_info;
   label_info.units.clear();
   label_info.quantity.clear();
+  if (descriptiveNameIsManual()) {
+    label_info.name = descriptiveName();
+  } else {
   label_info.name = yl;
-
+  }
   _yOutVector->setTitleInfo(label_info);
 }
 


More information about the Kst mailing list