Bug 118149

Summary: either Saving or loading plots does not work.
Product: [Applications] kst Reporter: Netterfield <netterfield>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: HI    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Netterfield 2005-12-12 01:55:22 UTC
Version:           1.2.0_devel (using KDE 3.4.3, Gentoo)
Compiler:          gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
OS:                Linux (x86_64) release 2.6.12-gentoo-r6

Create a plot in kst.
File->saveAs...tmp.kst

start kst
% kst tmp.kst

The plots do not appear (though their description does seem to appear in the kst file.
Comment 1 Andrew Walker 2005-12-12 20:17:58 UTC
SVN commit 487981 by arwalker:

BUG:118149 Plot identifier was changed in kst2dplot.cpp but not here.

 M  +2 -1      kstviewobject.cpp  


--- trunk/extragear/graphics/kst/kst/kstviewobject.cpp #487980:487981
@@ -163,7 +163,8 @@
   while (!n.isNull()) {
     QDomElement el = n.toElement();
     if (!el.isNull()) {
-      if (el.tagName() == "plot") {
+      if (el.tagName() == "Plot" ||
+          el.tagName() == "plot") {
         // get the <tag> value properly
         QString in_tag;
         QDomNode plotNode = el.firstChild();