Bug 153154

Summary: Scalar names not updated in equations
Product: [Applications] kst Reporter: D. V. Wiebe <dvw>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.4.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description D. V. Wiebe 2007-11-29 22:49:38 UTC
Version:           1.5.0 (using KDE KDE 3.5.8)
Compiler:          gcc (GCC) 4.1.2 
OS:                Linux

When a the "unique name" of a vector is changed, the names of scalars derived from the vector aren't updated in existing equations, even though vectors themselves are.

Steps to reproduce:

1.  Create a vector, call it "Foo"
2.  Create an equation: [Foo]-[Foo/Last]
3.  Rename vector "Foo" to "Bar"
4.  Examine the resulting equation.

Results:

The equation will have changed to: [Bar]-[Foo/Last]

Expected Results:

The equation should have changed to: [Bar]-[Bar/Last]
Comment 1 Andrew Walker 2007-12-11 01:22:01 UTC
SVN commit 747080 by arwalker:

BUG:153154 correct several problems with changing names of vectors and scalars that are used in existing equations

 M  +15 -16    enodes.cpp  
 M  +20 -13    kstequation.cpp  
 M  +2 -6      kstequation.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=747080