[Kst] branches/work/kst/hierarchy/kst/src/libkst

Eli Fidler eli at staikos.net
Tue Dec 19 22:36:20 CET 2006


SVN commit 615021 by fidler:

don't call setTagName unless it changes


 M  +3 -1      kstrvector.cpp  


--- branches/work/kst/hierarchy/kst/src/libkst/kstrvector.cpp #615020:615021
@@ -192,7 +192,9 @@
   ReqF0 = in_f0;
   ReqNF = in_n;
   _field = in_field;
-  setTagName(in_tag);
+  if (in_tag != tag()) {
+    setTagName(in_tag);
+  }
 
   if (_file) {
     _file->writeLock();


More information about the Kst mailing list