[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/kst/portto4/kst/src/libkstmath
From:       Barth Netterfield <netterfield () astro ! utoronto ! ca>
Date:       2012-10-10 15:10:00
Message-ID: 20121010151000.92A2AAC84E () svn ! kde ! org
[Download RAW message or body]

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);
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic