D16324: Disable trace mode in KmPlot before deleting tracing curve from the plot

Yuri Chornoivan noreply at phabricator.kde.org
Fri Oct 19 18:18:34 BST 2018


yurchor created this revision.
yurchor added a reviewer: KDE Edu.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
yurchor requested review of this revision.

REVISION SUMMARY
  Deleting curves without disabling tracing first crashes KmPlot.
  
  BUG: 325627

TEST PLAN
  1. Add a Cartesian curve on the plot ( e.g., f(x) = x^3).
  2. Left-click on it to start tracing.
  3. Push the "Delete" button under the "Functions" list.
  4. KmPlot should not crash anymore, the curve should disappear with the corresponding labels on the status bar.

REPOSITORY
  R334 KmPlot

REVISION DETAIL
  https://phabricator.kde.org/D16324

AFFECTED FILES
  kmplot/parser.cpp
  kmplot/view.cpp
  kmplot/view.h

To: yurchor, #kde_edu
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20181019/cadcfec9/attachment.html>


More information about the kde-edu mailing list