diff --git a/direct/src/gui/DirectEntry.py b/direct/src/gui/DirectEntry.py index 1433438c7f..0f6d86b1e0 100644 --- a/direct/src/gui/DirectEntry.py +++ b/direct/src/gui/DirectEntry.py @@ -234,8 +234,9 @@ class DirectEntry(DirectFrame): def focusOutCommandFunc(self): if self['focusOutCommand']: apply(self['focusOutCommand'], self['focusOutExtraArgs']) - self.ignore(self.guiItem.getTypeEvent()) - self.ignore(self.guiItem.getEraseEvent()) + if self['autoCapitalize']: + self.ignore(self.guiItem.getTypeEvent()) + self.ignore(self.guiItem.getEraseEvent()) def set(self, text): """ Changes the text currently showing in the typable region;