--- a/objdictgen/objdictedit.py Thu Aug 10 08:53:05 2006 +0200
+++ b/objdictgen/objdictedit.py Thu Aug 10 17:13:23 2006 +0200
@@ -981,8 +981,9 @@
event.Skip()
def OnFileSelectedChanged(self, event):
- selected = self.FileOpened.GetSelection()
+ selected = event.GetSelection()
# At init selected = -1
+ print selected
if selected >= 0:
self.Manager.ChangeCurrentNode(selected)
self.RefreshBufferState()
@@ -1701,9 +1702,9 @@
def GetValues(self):
if self.radioButton1.GetValue():
struct = 1
+ elif self.radioButton2.GetValue():
+ struct = 3
elif self.radioButton3.GetValue():
- struct = 3
- elif self.radioButton2.GetValue():
struct = 7
name = self.IndexName.GetValue()
index = eval(self.Index.GetValue())