projects
/
iramuteq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
...
[iramuteq]
/
tree.py
diff --git
a/tree.py
b/tree.py
index
d8008b1
..
d1df2d6
100644
(file)
--- a/
tree.py
+++ b/
tree.py
@@
-1087,10
+1087,10
@@
class LeftTree(CT.CustomTreeCtrl):
pydata = self.GetPyData(item)
if pydata is not None :
pydata = self.GetPyData(item)
if pydata is not None :
- if 'corpus_name' in pydata :
+ if 'corpus_name' in pydata
or 'corpus' in pydata
:
self.ira.ShowMenu('text', True)
self.ira.ShowMenu('matrix', False)
self.ira.ShowMenu('text', True)
self.ira.ShowMenu('matrix', False)
- if 'matrix_name' in pydata :
+ if 'matrix_name' in pydata
or 'matrix' in pydata
:
self.ira.ShowMenu('text', False)
self.ira.ShowMenu('matrix', True)
self.pydata = pydata
self.ira.ShowMenu('text', False)
self.ira.ShowMenu('matrix', True)
self.pydata = pydata