projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2edbfa6
)
Don't delete curve files through the GUI's delete function.
author
W. Trevor King
<wking@drexel.edu>
Wed, 9 Nov 2011 20:03:58 +0000
(15:03 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 9 Nov 2011 20:03:58 +0000
(15:03 -0500)
It is enough for them to be removed from the playlist. There is no
need to touch the raw data file itself.
hooke/ui/gui/__init__.py
patch
|
blob
|
history
diff --git
a/hooke/ui/gui/__init__.py
b/hooke/ui/gui/__init__.py
index a49fe27e498b4abc37a78a225cdd7f6d7cd8a30e..37eb6db2af41a6c59f965e5637020ad923905d85 100644
(file)
--- 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.