projects
/
iramuteq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
238d461
)
...
author
Pierre Ratinaud
<ratinaud@univ-tlse2.fr>
Mon, 6 Oct 2014 15:44:33 +0000
(17:44 +0200)
committer
Pierre Ratinaud
<ratinaud@univ-tlse2.fr>
Mon, 6 Oct 2014 15:44:33 +0000
(17:44 +0200)
tree.py
patch
|
blob
|
history
diff --git
a/tree.py
b/tree.py
index
25106fa
..
708e0dc
100644
(file)
--- a/
tree.py
+++ b/
tree.py
@@
-468,8
+468,10
@@
class LeftTree(CT.CustomTreeCtrl):
elif pydata.get('type', False) == 'reinertmatrix' and pydata['uuid'] in self.parent.history.opened :
openmenu = wx.Menu()
antipro = openmenu.Append(wx.ID_ANY, _(u"antiprofiles").decode('utf8'))
elif pydata.get('type', False) == 'reinertmatrix' and pydata['uuid'] in self.parent.history.opened :
openmenu = wx.Menu()
antipro = openmenu.Append(wx.ID_ANY, _(u"antiprofiles").decode('utf8'))
+ rapport = menu.Append(wx.ID_ANY, _(u"Report").decode('utf8'))
menu.AppendMenu(wx.ID_ANY, _(u"Open ...").decode('utf8'), openmenu)
self.Bind(wx.EVT_MENU, self.OpenAntipro, antipro)
menu.AppendMenu(wx.ID_ANY, _(u"Open ...").decode('utf8'), openmenu)
self.Bind(wx.EVT_MENU, self.OpenAntipro, antipro)
+ self.Bind(wx.EVT_MENU, self.OnRapport, rapport)
itemdelete = menu.Append(wx.ID_ANY, _(u"Delete from history").decode('utf8'))
itemdelete = menu.Append(wx.ID_ANY, _(u"Delete from history").decode('utf8'))