plugins/c_ext/CFileEditor.py
changeset 603 e1ef99c609eb
parent 587 c6354f7fe26e
child 610 00df5b1db283
--- a/plugins/c_ext/CFileEditor.py	Mon May 16 12:41:23 2011 +0200
+++ b/plugins/c_ext/CFileEditor.py	Wed May 18 11:21:10 2011 +0200
@@ -529,7 +529,7 @@
                     editor = wx.grid.GridCellTextEditor()
                 elif colname == "Class":
                     editor = wx.grid.GridCellChoiceEditor()
-                    editor.SetParameters("input,output")
+                    editor.SetParameters("input,memory,output")
                 elif colname == "Type":
                     pass
                 else:
@@ -770,6 +770,11 @@
                 for i in xrange(row):
                     if self.Table.GetValueByName(i, "Class") == "input":
                         num += 1
+            elif self.Table.GetValueByName(row, "Class") == "memory":
+                dir = "%M"
+                for i in xrange(row):
+                    if self.Table.GetValueByName(i, "Class") == "memory":
+                        num += 1
             else:
                 dir = "%Q"
                 for i in xrange(row):