--- 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)