Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EditableText.detectPossibleSelectionChange(): Gracefully handle the c…
…ase where initAutoSelectDetection() hasn't yet been called. This isn't supposed to happen, but it might if a gainFocus event failed, etc. We were already guarding _lastSelectionPos, but not hasContentChangedSinceLastSelection. Fixes rare AttributeError exceptions for hasContentChangedSinceLastSelection.
- Loading branch information