Bug 323158 - Function numeration for 2D plots is inconsistent
Summary: Function numeration for 2D plots is inconsistent
Status: RESOLVED FIXED
Alias: None
Product: kalgebra
Classification: Unclassified
Component: general (show other bugs)
Version: 0.11
Platform: Compiled Sources Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-04 12:53 UTC by Yuri Chornoivan
Modified: 2013-08-04 16:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Chornoivan 2013-08-04 12:53:37 UTC
The numeration for 2D plots functions is chosen arbitrary and may be confusing.

Reproducible: Always

Steps to Reproduce:
1. Switch to "2D Graph" tab.
2. Add function "sin(x)"
3. The function will be added as "f0"
4. Click on "Add".
Actual Results:  
The next function will have an inconsistent number (say "f811257323"

Expected Results:  
The next function should be "f1".

Thanks for fixing this bug.
Comment 1 Aleix Pol 2013-08-04 16:40:28 UTC
Git commit 50866da553808fe431d35a18e57d0de19cdf6c68 by Aleix Pol.
Committed on 04/08/2013 at 16:39.
Pushed by apol into branch 'KDE/4.11'.

Provide more predictable and useful default naming for plots

M  +4    -5    analitzaplot/plotsmodel.cpp
M  +1    -0    analitzaplot/plotsmodel.h

http://commits.kde.org/analitza/50866da553808fe431d35a18e57d0de19cdf6c68