Bug 389302

Summary: fit parameter window has superfluous buttons
Product: [Applications] LabPlot2 Reporter: uwestoehr <uwestoehr>
Component: frontendAssignee: Stefan Gerlach <stefan.gerlach>
Status: RESOLVED FIXED    
Severity: normal CC: stefan.gerlach
Priority: NOR    
Version First Reported In: latest   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot

Description uwestoehr 2018-01-22 01:42:00 UTC
Created attachment 110037 [details]
screenshot

The fit parameter window has 2 buttons to add delete a parameter. They should be removed because they will in all cases lead to a fit failure. If you have e.g. the fit equation

exp(b*sin(a*x))+c

with 3 parameters and you remove a parameter, the fitting will fail unless you change the fit equation. So the buttons to remove/add a parameter is superfluous and also misleading.
Comment 1 Stefan Gerlach 2018-01-28 08:53:22 UTC
Git commit de9144d010b50b582bc08d601bc62d681c95be58 by Stefan Gerlach.
Committed on 28/01/2018 at 08:52.
Pushed by sgerlach into branch 'master'.

M  +10   -5    src/kdefrontend/widgets/FitParametersWidget.cpp

https://commits.kde.org/labplot/de9144d010b50b582bc08d601bc62d681c95be58