# HG changeset patch
# User lbessard
# Date 1192695825 -7200
# Node ID 1975e546178be43a7572e75eb744f01ce941473d
# Parent  5d08887347a96aaffd320c230674f29cf1616de5
Bugs on EDS import fixed

diff -r 5d08887347a9 -r 1975e546178b objdictgen/subindextable.py
--- a/objdictgen/subindextable.py	Thu Oct 18 10:13:18 2007 +0200
+++ b/objdictgen/subindextable.py	Thu Oct 18 10:23:45 2007 +0200
@@ -644,7 +644,7 @@
                 if self.Manager.IsCurrentEntry(index):
                     showpopup = False
                     infos = self.Manager.GetEntryInfos(index)
-                    if index >= 0x2000 and infos["struct"] & OD_MultipleSubindexes or infos["struct"] & OD_IdenticalSubindexes:
+                    if 0x2000 <= index <= 0x5FFF and infos["struct"] & OD_MultipleSubindexes or infos["struct"] & OD_IdenticalSubindexes:
                         showpopup = True
                         self.SubindexGridMenu.FindItemByPosition(0).Enable(True)
                         self.SubindexGridMenu.FindItemByPosition(1).Enable(True)