From: W. Trevor King Date: Wed, 9 Nov 2011 20:03:58 +0000 (-0500) Subject: Don't delete curve files through the GUI's delete function. X-Git-Url: http://git.tremily.us/?p=hooke.git;a=commitdiff_plain;h=a66b4b9f58149bd2827f5930c6e012582c5eaaaa Don't delete curve files through the GUI's delete function. It is enough for them to be removed from the playlist. There is no need to touch the raw data file itself. --- diff --git a/hooke/ui/gui/__init__.py b/hooke/ui/gui/__init__.py index a49fe27..37eb6db 100644 --- a/hooke/ui/gui/__init__.py +++ b/hooke/ui/gui/__init__.py @@ -605,7 +605,8 @@ class HookeFrame (wx.Frame): def _on_delete_curve(self, _class, method, playlist, curve): # TODO: execute_command 'remove curve from playlist' - os.remove(curve.path) + #os.remove(curve.path) + pass def _on_set_selected_playlist(self, _class, method, playlist): """Call the `jump to playlist` command.