Bug 121123 - Plot groups are not restored from kst file
Summary: Plot groups are not restored from kst file
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-01 01:59 UTC by Andrew Walker
Modified: 2006-02-01 02:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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);