Commits

Anthony Tuininga committed 00fe6aa

If the field is not editable, do not do anything with the keys!

Comments (0)

Files changed (1)

ceGUI/SimpleControls.py

                 skipEvent = False)
 
     def OnChar(self, event):
+        if not self.IsEditable():
+            event.Skip()
+            return
         key = event.GetKeyCode()
         if key < ord('a') or key > ord('z'):
             event.Skip()