Bug 421800

Summary: Fitted curve function does not change when changing the curve.
Product: [Applications] LabPlot2 Reporter: Andy Great <andythe_great>
Component: generalAssignee: Stefan Gerlach <stefan.gerlach>
Status: RESOLVED FIXED    
Severity: normal CC: stefan.gerlach
Priority: NOR    
Version First Reported In: latest   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot with annotation.
Test file
Blank rectangle

Description Andy Great 2020-05-20 00:47:18 UTC
Created attachment 128618 [details]
Screenshot with annotation.

The display fit function under "f(x)=" does not change when selecting different curve.

Select freundlish fitted curve, change model to power and recalculate fit curve
Select Henry's law fitted curve.
Select back to freundlish fitted curve, observed that it is now polymonial instead.

Labplot nightly build

Operating System: openSUSE Tumbleweed 20200511
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.1
Kernel Version: 5.6.11-1-default
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-3770 CPU @ 3.40GHz
Memory: 7.5 GiB of RAM
Comment 1 Andy Great 2020-05-20 00:47:39 UTC
Created attachment 128619 [details]
Test file
Comment 2 Stefan Gerlach 2020-05-21 08:22:23 UTC
The problem should be fixed with commit 980d997f. Please check the next nightly build.
Comment 3 Andy Great 2020-05-22 02:36:05 UTC
But somehow the equation display become blank white rectangle?
Comment 4 Andy Great 2020-05-22 02:36:22 UTC
Created attachment 128680 [details]
Blank rectangle
Comment 5 Stefan Gerlach 2020-05-22 09:10:05 UTC
Fixed in commit 39899b9a.