Bug 121123

Summary: Plot groups are not restored from kst file
Product: [Applications] kst Reporter: Andrew Walker <arwalker>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrew Walker 2006-02-01 01:59:04 UTC
Version:           HEAD (using KDE KDE 3.5.0)
Installed from:    Compiled From Sources
OS:                Linux

PROBLEM:
When a user creates a plot group and the saves their session to file the plot group is not restored when the session is loaded from the file.

STEPS TO REPRODUCE:
Start kst
Create 4 plots within a window
Group two of the plots together
Save to file
Shutdown Kst
Restart Kst
Load the previously saved file

RESULTS:
The plot group is missing

EXPECTED RESULTS:
The plot is recreated
Comment 1 Andrew Walker 2006-02-01 02:12:07 UTC
SVN commit 504426 by arwalker:

BUG:121123 Load plot groups correctly, caused by change to _type of KstPlotGroup.

 M  +1 -1      kstviewobject.cpp  


--- trunk/extragear/graphics/kst/kst/kstviewobject.cpp #504425:504426
@@ -194,7 +194,7 @@
             pmap->erase(in_tag);
           }
         }
-      } else if (el.tagName() == "plotgroup") {
+      } else if (el.tagName() == "PlotGroup") {
         KstPlotGroupPtr plotGroup = new KstPlotGroup(el);
         appendChild(plotGroup.data(), true);
         plotGroup->loadChildren(el);